[LLVM][NVPTX] Add support for griddepcontrol instruction (#123511)
[llvm-project.git] / llvm / test / ObjectYAML / DXContainer / PSVv2-hull.yaml
blob79d92e2f0c5e6fb5539114d261f9b20bd609ee6a
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
3 --- !dxcontainer
4 Header:
5   Hash:            [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
6                      0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
7   Version:
8     Major:           1
9     Minor:           0
10   PartCount:       2
11 Parts:
12   - Name:            PSV0
13     Size:            144
14     PSVInfo:
15       Version:         2
16       ShaderStage:     3
17       InputControlPointCount: 1024
18       OutputControlPointCount: 4096
19       TessellatorDomain: 2056
20       TessellatorOutputPrimitive: 8192
21       MinimumWaveLaneCount: 0
22       MaximumWaveLaneCount: 4294967295
23       UsesViewID:      0
24       SigPatchConstOrPrimVectors:  0
25       SigInputVectors: 0
26       SigOutputVectors: [ 0, 16, 32, 64 ]
27       NumThreadsX:     512
28       NumThreadsY:     1024
29       NumThreadsZ:     2048
30       ResourceStride:       24
31       Resources:
32         - Type:            Sampler
33           Space:           2
34           LowerBound:      3
35           UpperBound:      4
36           Kind:            TextureCube
37           Flags:
38             UsedByAtomic64:  false
39         - Type:            Invalid
40           Space:           32768
41           LowerBound:      8388608
42           UpperBound:      2147483648
43           Kind:            Invalid
44           Flags:
45             UsedByAtomic64:  false
46       SigInputElements: []
47       SigOutputElements: []
48       SigPatchOrPrimElements: []
49       InputOutputMap:
50         - [  ]
51         - [  ]
52         - [  ]
53         - [  ]
54       InputPatchMap: []
55   - Name:            DXIL
56     Size:            24
57     Program:
58       MajorVersion:    6
59       MinorVersion:    0
60       ShaderKind:      3
61       Size:            6
62       DXILMajorVersion: 0
63       DXILMinorVersion: 1
64       DXILSize:        0
65 ...
67 # CHECK: Name:            PSV0
68 # CHECK: PSVInfo:
69 # CHECK-NEXT: Version:         2
70 # CHECK-NEXT: ShaderStage:     3
71 # CHECK-NEXT: InputControlPointCount: 1024
72 # CHECK-NEXT: OutputControlPointCount: 4096
73 # CHECK-NEXT: TessellatorDomain: 2056
74 # CHECK-NEXT: TessellatorOutputPrimitive: 8192
75 # CHECK-NEXT: MinimumWaveLaneCount: 0
76 # CHECK-NEXT: MaximumWaveLaneCount: 4294967295
77 # CHECK-NEXT: UsesViewID:      0
78 # CHECK-NEXT: SigPatchConstOrPrimVectors:  0
79 # CHECK-NEXT: SigInputVectors: 0
80 # CHECK-NEXT: SigOutputVectors: [ 0, 16, 32, 64 ]
81 # CHECK-NEXT: NumThreadsX:     512
82 # CHECK-NEXT: NumThreadsY:     1024
83 # CHECK-NEXT: NumThreadsZ:     2048
84 # CHECK-NEXT: ResourceStride: 24
85 # CHECK-NEXT: Resources:
86 # CHECK-NEXT: - Type:            Sampler
87 # CHECK-NEXT: Space:           2
88 # CHECK-NEXT: LowerBound:      3
89 # CHECK-NEXT: UpperBound:      4
90 # CHECK-NEXT: Kind:            TextureCube
91 # CHECK-NEXT: Flags:
92 # CHECK-NEXT: UsedByAtomic64:  false
93 # CHECK-NEXT: - Type:            Invalid
94 # CHECK-NEXT: Space:           32768
95 # CHECK-NEXT: LowerBound:      8388608
96 # CHECK-NEXT: UpperBound:      2147483648
97 # CHECK-NEXT: Kind:            Invalid
98 # CHECK-NEXT: Flags:
99 # CHECK-NEXT: UsedByAtomic64:  false
100 # CHECK-NEXT: SigInputElements: []
101 # CHECK-NEXT: SigOutputElements: []
102 # CHECK-NEXT: SigPatchOrPrimElements: []
103 # CHECK-NEXT: InputOutputMap:
104 # CHECK-NEXT:   - [  ]
105 # CHECK-NEXT:   - [  ]
106 # CHECK-NEXT:   - [  ]
107 # CHECK-NEXT:   - [  ]
108 # CHECK-NEXT: InputPatchMap: [  ]
109 # CHECK-NEXT: Name