dd3f7b0225
This patch continues implementing DirectX pipeline state validation information by adding support for resource binding metadata. Reviewed By: python3kgae Differential Revision: https://reviews.llvm.org/D143130
58 lines
1.5 KiB
YAML
58 lines
1.5 KiB
YAML
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
|
|
|
|
--- !dxcontainer
|
|
Header:
|
|
Hash: [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
|
|
Version:
|
|
Major: 1
|
|
Minor: 0
|
|
PartCount: 2
|
|
Parts:
|
|
- Name: PSV0
|
|
Size: 144
|
|
PSVInfo:
|
|
Version: 0
|
|
ShaderStage: 14
|
|
PayloadSizeInBytes: 4092
|
|
MinimumWaveLaneCount: 0
|
|
MaximumWaveLaneCount: 4294967295
|
|
Resources:
|
|
- Type: 1
|
|
Space: 2
|
|
LowerBound: 3
|
|
UpperBound: 4
|
|
- Type: 128
|
|
Space: 32768
|
|
LowerBound: 8388608
|
|
UpperBound: 2147483648
|
|
- Name: DXIL
|
|
Size: 24
|
|
Program:
|
|
MajorVersion: 6
|
|
MinorVersion: 0
|
|
ShaderKind: 14
|
|
Size: 6
|
|
DXILMajorVersion: 0
|
|
DXILMinorVersion: 1
|
|
DXILSize: 0
|
|
...
|
|
|
|
# CHECK: Name: PSV0
|
|
# CHECK: PSVInfo:
|
|
# CHECK-NEXT: Version: 0
|
|
# CHECK-NEXT: ShaderStage: 14
|
|
# CHECK-NEXT: PayloadSizeInBytes: 4092
|
|
# CHECK-NEXT: MinimumWaveLaneCount: 0
|
|
# CHECK-NEXT: MaximumWaveLaneCount: 4294967295
|
|
# CHECK-NEXT: Resources:
|
|
# CHECK-NEXT: - Type: 1
|
|
# CHECK-NEXT: Space: 2
|
|
# CHECK-NEXT: LowerBound: 3
|
|
# CHECK-NEXT: UpperBound: 4
|
|
# CHECK-NEXT: - Type: 128
|
|
# CHECK-NEXT: Space: 32768
|
|
# CHECK-NEXT: LowerBound: 8388608
|
|
# CHECK-NEXT: UpperBound: 2147483648
|
|
# CHECK-NEXT: Name
|