We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e163ede commit 5501e5eCopy full SHA for 5501e5e
clang/test/CodeGenHLSL/RootSignature.hlsl
@@ -55,13 +55,13 @@ void RootConstantsEntry() {}
55
// CHECK: ![[#RD_ENTRY]] = !{ptr @RootDescriptorsEntry, ![[#RD_RS:]]}
56
// CHECK: ![[#RD_RS]] = !{![[#ROOT_CBV:]], ![[#ROOT_UAV:]], ![[#ROOT_SRV:]]}
57
// CHECK: ![[#ROOT_CBV]] = !{!"RootCBV", i32 0, i32 0, i32 0, i32 4}
58
-// CHECK: ![[#ROOT_UAV]] = !{!"RootUAV", i32 0, i32 0, i32 0, i32 2}
59
-// CHECK: ![[#ROOT_SRV]] = !{!"RootSRV", i32 0, i32 0, i32 0, i32 4}
+// CHECK: ![[#ROOT_UAV]] = !{!"RootUAV", i32 0, i32 42, i32 3, i32 2}
+// CHECK: ![[#ROOT_SRV]] = !{!"RootSRV", i32 4, i32 0, i32 0, i32 2}
60
61
#define SampleRootDescriptors \
62
"CBV(b0), " \
63
- "UAV(u0), " \
64
- "SRV(t0)"
+ "UAV(space = 3, u42), " \
+ "SRV(t0, visibility = Shader_Visibility_Geometry, flags = Data_Volatile)"
65
[shader("compute"), RootSignature(SampleRootDescriptors)]
66
[numthreads(1,1,1)]
67
void RootDescriptorsEntry() {}
0 commit comments