[llvm-branch-commits] [clang] [llvm] [HLSL][RootSignature] Add Metadata generation of Root Signatures for Attr (PR #125131)
Joshua Batista via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Feb 26 11:15:48 PST 2025
================
@@ -0,0 +1,29 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -emit-llvm -o - %s | FileCheck %s
+
+// CHECK-DAG: ![[#EMPTY:]] = !{}
+[shader("compute"), RootSignature("")]
+[numthreads(1,1,1)]
+void FirstEntry() {}
+
+// CHECK-DAG: ![[#CBV:]] = !{!"CBV", i32 1, i32 0, i32 0, i32 -1, i32 4}
----------------
bob80905 wrote:
Are these guaranteed to be differently ordered in each execution? Are these stored in a map? Any way to get these checks to not use DAG?
https://github.com/llvm/llvm-project/pull/125131
More information about the llvm-branch-commits
mailing list