Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / ObjectYAML / DXContainer / SigElements.yaml
blob47a18a6487c975d45c46f738939906233cef5c61
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:            250
14     PSVInfo:
15       Version:         1
16       ShaderStage:     0
17       DepthOutput:     7
18       SampleFrequency: 96
19       MinimumWaveLaneCount: 0
20       MaximumWaveLaneCount: 4294967295
21       UsesViewID:      0
22       SigInputVectors: 0
23       SigOutputVectors: [ 8, 16, 32, 64 ]
24       ResourceStride:       16
25       Resources:
26         - Type:            1
27           Space:           2
28           LowerBound:      3
29           UpperBound:      4
30         - Type:            128
31           Space:           32768
32           LowerBound:      8388608
33           UpperBound:      2147483648
34       SigInputElements:
35         - Name:            IN
36           Indices:         [ 0, 1 ]
37           StartRow:        0
38           Cols:            2
39           StartCol:        0
40           Allocated:       true
41           Kind:            Arbitrary
42           ComponentType:   SInt32
43           Interpolation:   Undefined
44           DynamicMask:     0x0
45           Stream:          0
46       SigOutputElements:
47         - Name:            OUT
48           Indices:         [ 0, 1 ]
49           StartRow:        0
50           Cols:            2
51           StartCol:        0
52           Allocated:       true
53           Kind:            Arbitrary
54           ComponentType:   Float32
55           Interpolation:   Linear
56           DynamicMask:     0x0
57           Stream:          1
58       SigPatchOrPrimElements:
59         - Name:            Patch
60           Indices:         [ 0 ]
61           StartRow:        0
62           Cols:            1
63           StartCol:        0
64           Allocated:       true
65           Kind:            Arbitrary
66           ComponentType:   Float32
67           Interpolation:   Linear
68           DynamicMask:     0x1
69           Stream:          2
70         - Name:            Patch1
71           Indices:         [ 2 ]
72           StartRow:        0
73           Cols:            1
74           StartCol:        0
75           Allocated:       true
76           Kind:            Arbitrary
77           ComponentType:   Float64
78           Interpolation:   LinearSample
79           DynamicMask:     0x2
80           Stream:          3
81       InputOutputMap:
82         - [  ]
83         - [  ]
84         - [  ]
85         - [  ]
86   - Name:            DXIL
87     Size:            24
88     Program:
89       MajorVersion:    6
90       MinorVersion:    0
91       ShaderKind:      0
92       Size:            6
93       DXILMajorVersion: 0
94       DXILMinorVersion: 1
95       DXILSize:        0
96 ...
98 # CHECK: Name:            PSV0
99 # CHECK: PSVInfo:
100 # CHECK-NEXT: Version:         1
101 # CHECK-NEXT: ShaderStage:     0
103 # CHECK: SigInputElements:
104 # CHECK-NEXT:   - Name:            IN
105 # CHECK-NEXT:     Indices:         [ 0, 1 ]
106 # CHECK-NEXT:     StartRow:        0
107 # CHECK-NEXT:     Cols:            2
108 # CHECK-NEXT:     StartCol:        0
109 # CHECK-NEXT:     Allocated:       true
110 # CHECK-NEXT:     Kind:            Arbitrary
111 # CHECK-NEXT:     ComponentType:   SInt32
112 # CHECK-NEXT:     Interpolation:   Undefined
113 # CHECK-NEXT:     DynamicMask:     0x0
114 # CHECK-NEXT:     Stream:          0
115 # CHECK-NEXT: SigOutputElements:
116 # CHECK-NEXT:   - Name:            OUT
117 # CHECK-NEXT:     Indices:         [ 0, 1 ]
118 # CHECK-NEXT:     StartRow:        0
119 # CHECK-NEXT:     Cols:            2
120 # CHECK-NEXT:     StartCol:        0
121 # CHECK-NEXT:     Allocated:       true
122 # CHECK-NEXT:     Kind:            Arbitrary
123 # CHECK-NEXT:     ComponentType:   Float32
124 # CHECK-NEXT:     Interpolation:   Linear
125 # CHECK-NEXT:     DynamicMask:     0x0
126 # CHECK-NEXT:     Stream:          1
127 # CHECK-NEXT: SigPatchOrPrimElements:
128 # CHECK-NEXT:   - Name:            Patch
129 # CHECK-NEXT:     Indices:         [ 0 ]
130 # CHECK-NEXT:     StartRow:        0
131 # CHECK-NEXT:     Cols:            1
132 # CHECK-NEXT:     StartCol:        0
133 # CHECK-NEXT:     Allocated:       true
134 # CHECK-NEXT:     Kind:            Arbitrary
135 # CHECK-NEXT:     ComponentType:   Float32
136 # CHECK-NEXT:     Interpolation:   Linear
137 # CHECK-NEXT:     DynamicMask:     0x1
138 # CHECK-NEXT:     Stream:          2
139 # CHECK-NEXT:   - Name:            Patch1
140 # CHECK-NEXT:     Indices:         [ 2 ]
141 # CHECK-NEXT:     StartRow:        0
142 # CHECK-NEXT:     Cols:            1
143 # CHECK-NEXT:     StartCol:        0
144 # CHECK-NEXT:     Allocated:       true
145 # CHECK-NEXT:     Kind:            Arbitrary
146 # CHECK-NEXT:     ComponentType:   Float64
147 # CHECK-NEXT:     Interpolation:   LinearSample
148 # CHECK-NEXT:     DynamicMask:     0x2
149 # CHECK-NEXT:     Stream:          3