[llvm] [DirectX] Add DXIL_MODULE_FLAG for ShaderFlags. (PR #83217)
Chris B via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 07:59:51 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) \
----------------
llvm-beanz wrote:
```suggestion
#define SHADER_FEATURE_FLAG(Bit, DxilModuleBit, FlagName, Str) \
```
https://github.com/llvm/llvm-project/pull/83217
More information about the llvm-commits
mailing list