Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / ObjectYAML / DXContainer / PSVv1-mesh.yaml
blobf981cb99cb968d43ed54154480e54ff56449d11a
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:         1
16       ShaderStage:     13
17       GroupSharedBytesUsed: 1024
18       GroupSharedBytesDependentOnViewID: 2056
19       PayloadSizeInBytes: 4092
20       MaxOutputVertices: 8196
21       MaxOutputPrimitives: 4092
22       MinimumWaveLaneCount: 0
23       MaximumWaveLaneCount: 4294967295
24       UsesViewID:      0
25       SigPrimVectors:  128
26       MeshOutputTopology: 16
27       SigInputVectors: 0
28       SigOutputVectors: [ 8, 16, 32, 64 ]
29       ResourceStride:       16
30       Resources:
31         - Type:            1
32           Space:           2
33           LowerBound:      3
34           UpperBound:      4
35         - Type:            128
36           Space:           32768
37           LowerBound:      8388608
38           UpperBound:      2147483648
39       SigInputElements: []
40       SigOutputElements: []
41       SigPatchOrPrimElements: []
42       InputOutputMap:
43         - [  ]
44         - [  ]
45         - [  ]
46         - [  ]
47   - Name:            DXIL
48     Size:            24
49     Program:
50       MajorVersion:    6
51       MinorVersion:    0
52       ShaderKind:      13
53       Size:            6
54       DXILMajorVersion: 0
55       DXILMinorVersion: 1
56       DXILSize:        0
57 ...
59 # CHECK: Name:            PSV0
60 # CHECK: PSVInfo:
61 # CHECK-NEXT: Version:         1
62 # CHECK-NEXT: ShaderStage:     13
63 # CHECK-NEXT: GroupSharedBytesUsed: 1024
64 # CHECK-NEXT: GroupSharedBytesDependentOnViewID: 2056
65 # CHECK-NEXT: PayloadSizeInBytes: 4092
66 # CHECK-NEXT: MaxOutputVertices: 8196
67 # CHECK-NEXT: MaxOutputPrimitives: 4092
68 # CHECK-NEXT: MinimumWaveLaneCount: 0
69 # CHECK-NEXT: MaximumWaveLaneCount: 4294967295
70 # CHECK-NEXT: UsesViewID:      0
71 # CHECK-NEXT: SigPrimVectors:  128
72 # CHECK-NEXT: MeshOutputTopology: 16
73 # CHECK-NEXT: SigInputVectors: 0
74 # CHECK-NEXT: SigOutputVectors: [ 8, 16, 32, 64 ]
75 # CHECK-NEXT: ResourceStride: 16
76 # CHECK-NEXT: Resources:
77 # CHECK-NEXT: - Type:            1
78 # CHECK-NEXT: Space:           2
79 # CHECK-NEXT: LowerBound:      3
80 # CHECK-NEXT: UpperBound:      4
81 # CHECK-NEXT: - Type:            128
82 # CHECK-NEXT: Space:           32768
83 # CHECK-NEXT: LowerBound:      8388608
84 # CHECK-NEXT: UpperBound:      2147483648
85 # CHECK-NEXT: SigInputElements: []
86 # CHECK-NEXT: SigOutputElements: []
87 # CHECK-NEXT: SigPatchOrPrimElements: []
88 # CHECK-NEXT: InputOutputMap:
89 # CHECK-NEXT:   - [  ]
90 # CHECK-NEXT:   - [  ]
91 # CHECK-NEXT:   - [  ]
92 # CHECK-NEXT:   - [  ]
93 # CHECK-NEXT: Name