Skip to content

Commit 33bb8cc

Browse files
author
joaosaffran
committed
fix test
1 parent c97bb41 commit 33bb8cc

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Flags.ll

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33

44
target triple = "dxil-unknown-shadermodel6.0-compute"
55

6-
; CHECK: @dx.rts0 = private constant [12 x i8] c"{{.*}}", section "RTS0", align 4
6+
; CHECK: @dx.rts0 = private constant [8 x i8] c"{{.*}}", section "RTS0", align 4
77

88

99
define void @main() #0 {
1010
entry:
1111
ret void
1212
}
1313

14+
15+
16+
1417
attributes #0 = { "hlsl.numthreads"="1,1,1" "hlsl.shader"="compute" }
1518

1619

@@ -21,8 +24,7 @@ attributes #0 = { "hlsl.numthreads"="1,1,1" "hlsl.shader"="compute" }
2124

2225

2326
; DXC: - Name: RTS0
24-
; DXC-NEXT: Size: 12
27+
; DXC-NEXT: Size: 8
2528
; DXC-NEXT: RootSignature:
2629
; DXC-NEXT: Size: 8
27-
; DXC-NEXT: Version: 1
2830
; DXC-NEXT: AllowInputAssemblerInputLayout: true

llvm/test/ObjectYAML/DXContainer/RootSignature-Flags.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Header:
1010
PartOffsets: [ 60 ]
1111
Parts:
1212
- Name: RTS0
13-
Size: 8
13+
Size: 4
1414
RootSignature:
1515
Size: 8
1616
AllowInputAssemblerInputLayout: true
1717

1818
#CHECK: - Name: RTS0
19-
#CHECK-NEXT: Size: 8
19+
#CHECK-NEXT: Size: 4
2020
#CHECK-NEXT: RootSignature:
2121
#CHECK-NEXT: Size: 8
2222
#CHECK-NEXT: AllowInputAssemblerInputLayout: true

0 commit comments

Comments
 (0)