[mlir] Update Ch-2.md (#121379)
[llvm-project.git] / llvm / test / ObjectYAML / DXContainer / PSVv2-compute.yaml
blobc8bfd9acf68efc59a48ebcc62d3dce7aeb71a425
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:     5
17       MinimumWaveLaneCount: 0
18       MaximumWaveLaneCount: 4294967295
19       UsesViewID:      0
20       SigInputVectors: 0
21       SigOutputVectors: [ 8, 16, 32, 64 ]
22       NumThreadsX:     512
23       NumThreadsY:     1024
24       NumThreadsZ:     2048
25       ResourceStride:       24
26       Resources:
27         - Type:            Sampler
28           Space:           2
29           LowerBound:      3
30           UpperBound:      4
31           Kind:            TextureCube
32           Flags:
33             UsedByAtomic64:  false
34         - Type:            Invalid
35           Space:           32768
36           LowerBound:      8388608
37           UpperBound:      2147483648
38           Kind:            Invalid
39           Flags:
40             UsedByAtomic64:  false
41       SigInputElements: []
42       SigOutputElements: []
43       SigPatchOrPrimElements: []
44       InputOutputMap:
45         - [  ]
46         - [  ]
47         - [  ]
48         - [  ]
49   - Name:            DXIL
50     Size:            24
51     Program:
52       MajorVersion:    6
53       MinorVersion:    0
54       ShaderKind:      5
55       Size:            6
56       DXILMajorVersion: 0
57       DXILMinorVersion: 1
58       DXILSize:        0
59 ...
61 # CHECK: Name:            PSV0
62 # CHECK: PSVInfo:
63 # CHECK-NEXT: Version:         2
64 # CHECK-NEXT: ShaderStage:     5
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:            Sampler
76 # CHECK-NEXT: Space:           2
77 # CHECK-NEXT: LowerBound:      3
78 # CHECK-NEXT: UpperBound:      4
79 # CHECK-NEXT: Kind:            TextureCube
80 # CHECK-NEXT: Flags:
81 # CHECK-NEXT: UsedByAtomic64:  false
82 # CHECK-NEXT: - Type:            Invalid
83 # CHECK-NEXT: Space:           32768
84 # CHECK-NEXT: LowerBound:      8388608
85 # CHECK-NEXT: UpperBound:      2147483648
86 # CHECK-NEXT: Kind:            Invalid
87 # CHECK-NEXT: Flags:
88 # CHECK-NEXT: UsedByAtomic64:  false
89 # CHECK-NEXT: SigInputElements: []
90 # CHECK-NEXT: SigOutputElements: []
91 # CHECK-NEXT: SigPatchOrPrimElements: []
92 # CHECK-NEXT: InputOutputMap:
93 # CHECK-NEXT:   - [  ]
94 # CHECK-NEXT:   - [  ]
95 # CHECK-NEXT:   - [  ]
96 # CHECK-NEXT:   - [  ]
97 # CHECK-NEXT: Name