This PR adds: - `RootSignatureFlags` extraction from DXContainer using `obj2yaml` This PR is part of: #121493 --------- Co-authored-by: joaosaffran <joao.saffran@microsoft.com>
34 lines
992 B
YAML
34 lines
992 B
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: 1
|
|
PartOffsets: [ 60 ]
|
|
Parts:
|
|
- Name: RTS0
|
|
Size: 24
|
|
RootSignature:
|
|
Version: 2
|
|
NumParameters: 1
|
|
RootParametersOffset: 3
|
|
NumStaticSamplers: 4
|
|
StaticSamplersOffset: 5
|
|
AllowInputAssemblerInputLayout: true
|
|
DenyGeometryShaderRootAccess: true
|
|
|
|
# CHECK: - Name: RTS0
|
|
# CHECK-NEXT: Size: 24
|
|
# CHECK-NEXT: RootSignature:
|
|
# CHECK-NEXT: Version: 2
|
|
# CHECK-NEXT: NumParameters: 1
|
|
# CHECK-NEXT: RootParametersOffset: 3
|
|
# CHECK-NEXT: NumStaticSamplers: 4
|
|
# CHECK-NEXT: StaticSamplersOffset: 5
|
|
# CHECK-NEXT: AllowInputAssemblerInputLayout: true
|
|
# CHECK-NEXT: DenyGeometryShaderRootAccess: true
|