3
3
4
4
target triple = "dxil-unknown-shadermodel6.0-compute"
5
5
6
- ; CHECK: @dx.rts0 = private constant [80 x i8] c"{{.*}}", section "RTS0", align 4
6
+ ; CHECK: @dx.rts0 = private constant [248 x i8] c"{{.*}}", section "RTS0", align 4
7
7
8
8
define void @main () #0 {
9
9
entry:
@@ -14,30 +14,29 @@ attributes #0 = { "hlsl.numthreads"="1,1,1" "hlsl.shader"="compute" }
14
14
15
15
!dx.rootsignatures = !{!2 } ; list of function/root signature pairs
16
16
!2 = !{ ptr @main , !3 , i32 3 } ; function, root signature
17
- !3 = !{ !5 } ; list of root signature elements
17
+ !3 = !{ !5 , !6 , !7 , !8 } ; list of root signature elements
18
18
!5 = !{ !"StaticSampler" , i32 4 , i32 2 , i32 3 , i32 5 , float 0x3FF6CCCCC0000000 , i32 9 , i32 3 , i32 2 , float -1 .280000e+02 , float 1 .280000e+02 , i32 42 , i32 0 , i32 0 , i32 1 }
19
+ !6 = !{ !"StaticSampler" , i32 4 , i32 2 , i32 3 , i32 5 , float 0x3FF6CCCCC0000000 , i32 9 , i32 3 , i32 2 , float -1 .280000e+02 , float 1 .280000e+02 , i32 43 , i32 0 , i32 0 , i32 2 }
20
+ !7 = !{ !"StaticSampler" , i32 4 , i32 2 , i32 3 , i32 5 , float 0x3FF6CCCCC0000000 , i32 9 , i32 3 , i32 2 , float -1 .280000e+02 , float 1 .280000e+02 , i32 44 , i32 0 , i32 0 , i32 0 }
21
+ !8 = !{ !"StaticSampler" , i32 4 , i32 2 , i32 3 , i32 5 , float 0x3FF6CCCCC0000000 , i32 9 , i32 3 , i32 2 , float -1 .280000e+02 , float 1 .280000e+02 , i32 45 , i32 0 , i32 0 , i32 3 }
19
22
20
23
; DXC: - Name: RTS0
21
- ; DXC-NEXT: Size: 80
24
+ ; DXC-NEXT: Size: 248
22
25
; DXC-NEXT: RootSignature:
23
26
; DXC-NEXT: Version: 3
24
27
; DXC-NEXT: NumRootParameters: 0
25
28
; DXC-NEXT: RootParametersOffset: 24
26
- ; DXC-NEXT: NumStaticSamplers: 1
29
+ ; DXC-NEXT: NumStaticSamplers: 4
27
30
; DXC-NEXT: StaticSamplersOffset: 24
28
31
; DXC-NEXT: Parameters: []
29
32
; DXC-NEXT: Samplers:
30
- ; DXC-NEXT: - Filter: MinPointMagLinearMipPoint
31
- ; DXC-NEXT: AddressU: Mirror
32
- ; DXC-NEXT: AddressV: Clamp
33
- ; DXC-NEXT: AddressW: MirrorOnce
34
- ; DXC-NEXT: MipLODBias: 1.425
35
- ; DXC-NEXT: MaxAnisotropy: 9
36
- ; DXC-NEXT: ComparisonFunc: Equal
37
- ; DXC-NEXT: BorderColor: OpaqueWhite
38
- ; DXC-NEXT: MinLOD: -128
39
- ; DXC-NEXT: MaxLOD: 128
40
- ; DXC-NEXT: ShaderRegister: 42
41
- ; DXC-NEXT: RegisterSpace: 0
42
- ; DXC-NEXT: ShaderVisibility: All
43
- ; DXC-NEXT: SAMPLER_FLAG_UINT_BORDER_COLOR: true
33
+ ; DXC-LABEL: ShaderRegister: 42
34
+ ; DXC: SAMPLER_FLAG_UINT_BORDER_COLOR: true
35
+ ; DXC-LABEL: ShaderRegister: 43
36
+ ; DXC: SAMPLER_FLAG_NON_NORMALIZED_COORDINATES: true
37
+ ; DXC-LABEL: ShaderRegister: 44
38
+ ; DXC-NOT: SAMPLER_FLAG_NON_NORMALIZED_COORDINATES:
39
+ ; DXC-NOT: SAMPLER_FLAG_UINT_BORDER_COLOR:
40
+ ; DXC-LABEL: ShaderRegister: 45
41
+ ; DXC: SAMPLER_FLAG_UINT_BORDER_COLOR: true
42
+ ; DXC-NEXT: SAMPLER_FLAG_NON_NORMALIZED_COORDINATES: true
0 commit comments