Reland [OffloadBundler] Compress bundles over 4GB (#122307)
[llvm-project.git] / llvm / test / ObjectYAML / DXContainer / PSVv2-domain.yaml
blob021fb1b5fffb1fb88faf05e24c8ba3c23707387e
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:     4
17       InputControlPointCount: 1024
18       OutputPositionPresent: 1
19       TessellatorDomain: 2056
20       MinimumWaveLaneCount: 0
21       MaximumWaveLaneCount: 4294967295
22       UsesViewID:      0
23       SigPatchConstOrPrimVectors:  0
24       SigInputVectors: 0
25       SigOutputVectors: [ 0, 16, 32, 64 ]
26       NumThreadsX:     512
27       NumThreadsY:     1024
28       NumThreadsZ:     2048
29       ResourceStride:       24
30       Resources:
31         - Type:            Sampler
32           Space:           2
33           LowerBound:      3
34           UpperBound:      4
35           Kind:            TextureCube
36           Flags:
37             UsedByAtomic64:  false
38         - Type:            Invalid
39           Space:           32768
40           LowerBound:      8388608
41           UpperBound:      2147483648
42           Kind:            Invalid
43           Flags:
44             UsedByAtomic64:  false
45       SigInputElements: []
46       SigOutputElements: []
47       SigPatchOrPrimElements: []
48       InputOutputMap:
49         - [  ]
50         - [  ]
51         - [  ]
52         - [  ]
53       PatchOutputMap: []
54   - Name:            DXIL
55     Size:            24
56     Program:
57       MajorVersion:    6
58       MinorVersion:    0
59       ShaderKind:      4
60       Size:            6
61       DXILMajorVersion: 0
62       DXILMinorVersion: 1
63       DXILSize:        0
64 ...
66 # CHECK: Name:            PSV0
67 # CHECK: PSVInfo:
68 # CHECK-NEXT: Version:         2
69 # CHECK-NEXT: ShaderStage:     4
70 # CHECK-NEXT: InputControlPointCount: 1024
71 # CHECK-NEXT: OutputPositionPresent: 1
72 # CHECK-NEXT: TessellatorDomain: 2056
73 # CHECK-NEXT: MinimumWaveLaneCount: 0
74 # CHECK-NEXT: MaximumWaveLaneCount: 4294967295
75 # CHECK-NEXT: UsesViewID:      0
76 # CHECK-NEXT: SigPatchConstOrPrimVectors:  0
77 # CHECK-NEXT: SigInputVectors: 0
78 # CHECK-NEXT: SigOutputVectors: [ 0, 16, 32, 64 ]
79 # CHECK-NEXT: NumThreadsX:     512
80 # CHECK-NEXT: NumThreadsY:     1024
81 # CHECK-NEXT: NumThreadsZ:     2048
82 # CHECK-NEXT: ResourceStride: 24
83 # CHECK-NEXT: Resources:
84 # CHECK-NEXT: - Type:            Sampler
85 # CHECK-NEXT: Space:           2
86 # CHECK-NEXT: LowerBound:      3
87 # CHECK-NEXT: UpperBound:      4
88 # CHECK-NEXT: Kind:            TextureCube
89 # CHECK-NEXT: Flags:
90 # CHECK-NEXT: UsedByAtomic64:  false
91 # CHECK-NEXT: - Type:            Invalid
92 # CHECK-NEXT: Space:           32768
93 # CHECK-NEXT: LowerBound:      8388608
94 # CHECK-NEXT: UpperBound:      2147483648
95 # CHECK-NEXT: Kind:            Invalid
96 # CHECK-NEXT: Flags:
97 # CHECK-NEXT: UsedByAtomic64:  false
98 # CHECK-NEXT: SigInputElements: []
99 # CHECK-NEXT: SigOutputElements: []
100 # CHECK-NEXT: SigPatchOrPrimElements: []
101 # CHECK-NEXT: InputOutputMap:
102 # CHECK-NEXT:   - [  ]
103 # CHECK-NEXT:   - [  ]
104 # CHECK-NEXT:   - [  ]
105 # CHECK-NEXT:   - [  ]
106 # CHECK-NEXT: PatchOutputMap: [  ]
107 # CHECK-NEXT: Name