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

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


================
@@ -1,28 +1,36 @@
 // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-rootsignature -ast-dump \
+// RUN:  -fdx-rootsignature-version=rootsig_1_1 \
 // RUN:  -hlsl-entry EntryRootSig -disable-llvm-passes -o - %s | FileCheck %s --check-prefixes=CHECK,CHECK-V1_1
 
 // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-rootsignature -ast-dump \
 // RUN:  -fdx-rootsignature-version=rootsig_1_0 \
 // RUN:  -hlsl-entry EntryRootSig -disable-llvm-passes -o - %s | FileCheck %s --check-prefixes=CHECK,CHECK-V1_0
 
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-rootsignature -ast-dump \
+// RUN:  -fdx-rootsignature-version=rootsig_1_2 \
+// RUN:  -hlsl-entry EntryRootSig -disable-llvm-passes -o - %s | FileCheck %s --check-prefixes=CHECK,CHECK-V1_2
----------------
bogner wrote:

These run lines ended up ordered in a confusing way - can we reorder them so that we test them in increasing version of 1.0, 1.1, and then 1.2?

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


More information about the llvm-commits mailing list