[llvm] [DirectX] Add DXIL_MODULE_FLAG for ShaderFlags. (PR #83217)

Xiang Li via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 12:44:27 PST 2024


================
@@ -29,23 +28,35 @@ class GlobalVariable;
 namespace dxil {
 
 struct ComputedShaderFlags {
-#define SHADER_FEATURE_FLAG(bit, FlagName, Str) bool FlagName : 1;
+#define SHADER_FEATURE_FLAG(Bit, DxilModuleBit, FlagName, Str)                 \
+  bool FlagName : 1;
+#define DXIL_MODULE_FLAG(Bit, FlagName, Str) bool FlagName : 1;
----------------
python3kgae wrote:

Updated

https://github.com/llvm/llvm-project/pull/83217


More information about the llvm-commits mailing list