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