Skip to content

Commit 4ef6b3a

Browse files
committed
update metadata testcase
1 parent a307907 commit 4ef6b3a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

clang/test/CodeGenHLSL/RootSignature.hlsl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
// CHECK: !dx.rootsignatures = !{![[#EMPTY_ENTRY:]], ![[#DT_ENTRY:]],
44
// CHECK-SAME: ![[#RF_ENTRY:]], ![[#RC_ENTRY:]], ![[#RD_ENTRY:]], ![[#SS_ENTRY:]]}
55

6-
// CHECK: ![[#EMPTY_ENTRY]] = !{ptr @EmptyEntry, ![[#EMPTY:]]}
6+
// CHECK: ![[#EMPTY_ENTRY]] = !{ptr @EmptyEntry, ![[#EMPTY:]], i32 2}
77
// CHECK: ![[#EMPTY]] = !{}
88

99
[shader("compute"), RootSignature("")]
1010
[numthreads(1,1,1)]
1111
void EmptyEntry() {}
1212

13-
// CHECK: ![[#DT_ENTRY]] = !{ptr @DescriptorTableEntry, ![[#DT_RS:]]}
13+
// CHECK: ![[#DT_ENTRY]] = !{ptr @DescriptorTableEntry, ![[#DT_RS:]], i32 2}
1414
// CHECK: ![[#DT_RS]] = !{![[#TABLE:]]}
1515
// CHECK: ![[#TABLE]] = !{!"DescriptorTable", i32 0, ![[#CBV:]], ![[#SRV:]]}
1616
// CHECK: ![[#CBV]] = !{!"CBV", i32 1, i32 0, i32 0, i32 -1, i32 4}
@@ -25,7 +25,7 @@ void EmptyEntry() {}
2525
[numthreads(1,1,1)]
2626
void DescriptorTableEntry() {}
2727

28-
// CHECK: ![[#RF_ENTRY]] = !{ptr @RootFlagsEntry, ![[#RF_RS:]]}
28+
// CHECK: ![[#RF_ENTRY]] = !{ptr @RootFlagsEntry, ![[#RF_RS:]], i32 2}
2929
// CHECK: ![[#RF_RS]] = !{![[#ROOT_FLAGS:]]}
3030
// CHECK: ![[#ROOT_FLAGS]] = !{!"RootFlags", i32 2114}
3131

@@ -38,7 +38,7 @@ void DescriptorTableEntry() {}
3838
[numthreads(1,1,1)]
3939
void RootFlagsEntry() {}
4040

41-
// CHECK: ![[#RC_ENTRY]] = !{ptr @RootConstantsEntry, ![[#RC_RS:]]}
41+
// CHECK: ![[#RC_ENTRY]] = !{ptr @RootConstantsEntry, ![[#RC_RS:]], i32 2}
4242
// CHECK: ![[#RC_RS]] = !{![[#ROOT_CONSTANTS:]]}
4343
// CHECK: ![[#ROOT_CONSTANTS]] = !{!"RootConstants", i32 5, i32 1, i32 2, i32 1}
4444

@@ -52,7 +52,7 @@ void RootFlagsEntry() {}
5252
[numthreads(1,1,1)]
5353
void RootConstantsEntry() {}
5454

55-
// CHECK: ![[#RD_ENTRY]] = !{ptr @RootDescriptorsEntry, ![[#RD_RS:]]}
55+
// CHECK: ![[#RD_ENTRY]] = !{ptr @RootDescriptorsEntry, ![[#RD_RS:]], i32 2}
5656
// CHECK: ![[#RD_RS]] = !{![[#ROOT_CBV:]], ![[#ROOT_UAV:]], ![[#ROOT_SRV:]]}
5757
// CHECK: ![[#ROOT_CBV]] = !{!"RootCBV", i32 0, i32 0, i32 0, i32 4}
5858
// CHECK: ![[#ROOT_UAV]] = !{!"RootUAV", i32 0, i32 42, i32 3, i32 2}
@@ -66,7 +66,7 @@ void RootConstantsEntry() {}
6666
[numthreads(1,1,1)]
6767
void RootDescriptorsEntry() {}
6868

69-
// CHECK: ![[#SS_ENTRY]] = !{ptr @StaticSamplerEntry, ![[#SS_RS:]]}
69+
// CHECK: ![[#SS_ENTRY]] = !{ptr @StaticSamplerEntry, ![[#SS_RS:]], i32 2}
7070
// CHECK: ![[#SS_RS]] = !{![[#STATIC_SAMPLER:]]}
7171

7272
// checking filter = 0x4

0 commit comments

Comments
 (0)