[llvm] [DirectX] Add DXIL_MODULE_FLAG for ShaderFlags. (PR #83217)
Xiang Li via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 08:24:06 PST 2024
================
@@ -51,7 +51,10 @@ void ComputedShaderFlags::print(raw_ostream &OS) const {
if (FlagVal == 0)
return;
OS << "; Note: shader requires additional functionality:\n";
-#define SHADER_FEATURE_FLAG(bit, FlagName, Str) \
+#define SHADER_FEATURE_FLAG(bit, DxilModuleNum, FlagName, Str) \
+ if (FlagName) \
+ OS << "; " Str "\n";
+#define DXIL_MODULE_FLAG(bit, FlagName, Str) \
----------------
python3kgae wrote:
Fixed.
https://github.com/llvm/llvm-project/pull/83217
More information about the llvm-commits
mailing list