[clang] [llvm] [HLSL] Update Frontend to support version 1.2 of root signature (PR #160616)

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 26 09:47:02 PDT 2025


================
@@ -9469,10 +9469,10 @@ def fdx_rootsignature_version :
   Group<dxc_Group>,
   Visibility<[ClangOption, CC1Option]>,
   HelpText<"Root Signature Version">,
-  Values<"rootsig_1_0,rootsig_1_1">,
+  Values<"rootsig_1_0,rootsig_1_1,rootsig_1_2">,
   NormalizedValuesScope<"llvm::dxbc::RootSignatureVersion">,
-  NormalizedValues<["V1_0", "V1_1"]>,
-  MarshallingInfoEnum<LangOpts<"HLSLRootSigVer">, "V1_1">;
+  NormalizedValues<["V1_0", "V1_1", "V1_2"]>,
+  MarshallingInfoEnum<LangOpts<"HLSLRootSigVer">, "V1_2">;
----------------
bogner wrote:

I think we may want to keep the default to v1.1 to match what dxc emits. We should discuss this.

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


More information about the cfe-commits mailing list