Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / ObjectYAML / DXContainer / DomainMaskVectors.yaml
blob713fbc61e094b5a6bd3d9bebf1d28e0e850bcfb6
1 # RUN: yaml2obj %s | obj2yaml | FileCheck %s
2 --- !dxcontainer
3 Header:
4   Hash:            [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
5                      0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
6   Version:
7     Major:           1
8     Minor:           0
9   FileSize:        4616
10   PartCount:       8
11   PartOffsets:     [ 64, 80, 140, 200, 580, 952, 2756, 2784 ]
12 Parts:
13   - Name:            SFI0
14     Size:            8
15     Flags:
16       Doubles:         false
17       ComputeShadersPlusRawAndStructuredBuffers: false
18       UAVsAtEveryStage: false
19       Max64UAVs:       false
20       MinimumPrecision: false
21       DX11_1_DoubleExtensions: false
22       DX11_1_ShaderExtensions: false
23       LEVEL9ComparisonFiltering: false
24       TiledResources:  false
25       StencilRef:      false
26       InnerCoverage:   false
27       TypedUAVLoadAdditionalFormats: false
28       ROVs:            false
29       ViewportAndRTArrayIndexFromAnyShaderFeedingRasterizer: false
30       WaveOps:         false
31       Int64Ops:        false
32       ViewID:          true
33       Barycentrics:    false
34       NativeLowPrecision: false
35       ShadingRate:     false
36       Raytracing_Tier_1_1: false
37       SamplerFeedback: false
38       AtomicInt64OnTypedResource: false
39       AtomicInt64OnGroupShared: false
40       DerivativesInMeshAndAmpShaders: false
41       ResourceDescriptorHeapIndexing: false
42       SamplerDescriptorHeapIndexing: false
43       RESERVED:        false
44       AtomicInt64OnHeapResource: false
45       AdvancedTextureOps: false
46       WriteableMSAATextures: false
47       NextUnusedBit:   false
48   - Name:            ISG1
49     Size:            52
50   - Name:            OSG1
51     Size:            52
52   - Name:            PSG1
53     Size:            372
54   - Name:            PSV0
55     Size:            364
56     PSVInfo:
57       Version:         2
58       ShaderStage:     4
59       InputControlPointCount: 16
60       OutputPositionPresent: 1
61       TessellatorDomain: 3
62       MinimumWaveLaneCount: 0
63       MaximumWaveLaneCount: 4294967295
64       UsesViewID:      1
65       SigPatchConstOrPrimVectors: 7
66       SigInputVectors: 1
67       SigOutputVectors: [ 1, 0, 0, 0 ]
68       NumThreadsX:     0
69       NumThreadsY:     0
70       NumThreadsZ:     0
71       ResourceStride:  24
72       Resources:
73         - Type:            2
74           Space:           0
75           LowerBound:      0
76           UpperBound:      0
77           Kind:            13
78           Flags:           0
79       SigInputElements:
80         - Name:            AAA_HSFoo
81           Indices:         [ 0 ]
82           StartRow:        0
83           Cols:            3
84           StartCol:        0
85           Allocated:       true
86           Kind:            Arbitrary
87           ComponentType:   Float32
88           Interpolation:   Linear
89           DynamicMask:     0x0
90           Stream:          0
91       SigOutputElements:
92         - Name:            ''
93           Indices:         [ 0 ]
94           StartRow:        0
95           Cols:            4
96           StartCol:        0
97           Allocated:       true
98           Kind:            Position
99           ComponentType:   Float32
100           Interpolation:   LinearNoperspective
101           DynamicMask:     0x0
102           Stream:          0
103       SigPatchOrPrimElements:
104         - Name:            ''
105           Indices:         [ 0, 1, 2, 3 ]
106           StartRow:        0
107           Cols:            1
108           StartCol:        3
109           Allocated:       true
110           Kind:            TessFactor
111           ComponentType:   Float32
112           Interpolation:   Undefined
113           DynamicMask:     0x0
114           Stream:          0
115         - Name:            ''
116           Indices:         [ 0, 1 ]
117           StartRow:        4
118           Cols:            1
119           StartCol:        3
120           Allocated:       true
121           Kind:            InsideTessFactor
122           ComponentType:   Float32
123           Interpolation:   Undefined
124           DynamicMask:     0x0
125           Stream:          0
126         - Name:            AAA
127           Indices:         [ 0 ]
128           StartRow:        6
129           Cols:            4
130           StartCol:        0
131           Allocated:       true
132           Kind:            Arbitrary
133           ComponentType:   Float32
134           Interpolation:   Undefined
135           DynamicMask:     0x0
136           Stream:          0
137         - Name:            BBB
138           Indices:         [ 0, 1, 2 ]
139           StartRow:        0
140           Cols:            3
141           StartCol:        0
142           Allocated:       true
143           Kind:            Arbitrary
144           ComponentType:   Float32
145           Interpolation:   Undefined
146           DynamicMask:     0x0
147           Stream:          0
148       OutputVectorMasks:
149         - [ 0x1 ]
150         - [  ]
151         - [  ]
152         - [  ]
153       InputOutputMap:
154         - [ 0x0, 0xD, 0x0, 0x0 ]
155         - [  ]
156         - [  ]
157         - [  ]
158       PatchOutputMap:  [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 
159                          0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
160                          0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0 ]
161   - Name:            STAT
162     Size:            1796
163   - Name:            HASH
164     Size:            20
165     Hash:
166       IncludesSource:  false
167       Digest:          [ 0xD4, 0x48, 0xCB, 0xFE, 0xF9, 0xCD, 0x92, 0x7B, 
168                          0xBD, 0x2B, 0x9A, 0x9D, 0xB4, 0x6F, 0x3E, 0x83 ]
169   - Name:            DXIL
170     Size:            24
171     Program:
172       MajorVersion:    6
173       MinorVersion:    1
174       ShaderKind:      4
175       Size:            6
176       DXILMajorVersion: 1
177       DXILMinorVersion: 1
178       DXILSize:        0
181 # Verify the vector sizes and ViewID use.
182 # CHECK: UsesViewID:      1
183 # CHECK-NEXT: SigPatchConstOrPrimVectors: 7
184 # CHECK-NEXT: SigInputVectors: 1
185 # CHECK-NEXT: SigOutputVectors: [ 1, 0, 0, 0 ]
187 # Verify the vector mask encodings.
188 # CHECK: OutputVectorMasks:
189 # CHECK-NEXT:   - [ 0x1 ]
190 # CHECK-NEXT:   - [  ]
191 # CHECK-NEXT:   - [  ]
192 # CHECK-NEXT:   - [  ]
193 # CHECK-NEXT: InputOutputMap:
194 # CHECK-NEXT:   - [ 0x0, 0xD, 0x0, 0x0 ]
195 # CHECK-NEXT:   - [  ]
196 # CHECK-NEXT:   - [  ]
197 # CHECK-NEXT:   - [  ]
198 # CHECK-NEXT: PatchOutputMap:  [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 
199 # CHECK-NEXT:                    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
200 # CHECK-NEXT:                    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0 ]