204 lines · yaml
1# RUN: yaml2obj %s | obj2yaml | FileCheck %s2--- !dxcontainer3Header:4 Hash: [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 5 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]6 Version:7 Major: 18 Minor: 09 FileSize: 461610 PartCount: 811 PartOffsets: [ 64, 80, 140, 200, 580, 952, 2756, 2784 ]12Parts:13 - Name: SFI014 Size: 815 Flags:16 Doubles: false17 ComputeShadersPlusRawAndStructuredBuffers: false18 UAVsAtEveryStage: false19 Max64UAVs: false20 MinimumPrecision: false21 DX11_1_DoubleExtensions: false22 DX11_1_ShaderExtensions: false23 LEVEL9ComparisonFiltering: false24 TiledResources: false25 StencilRef: false26 InnerCoverage: false27 TypedUAVLoadAdditionalFormats: false28 ROVs: false29 ViewportAndRTArrayIndexFromAnyShaderFeedingRasterizer: false30 WaveOps: false31 Int64Ops: false32 ViewID: true33 Barycentrics: false34 NativeLowPrecision: false35 ShadingRate: false36 Raytracing_Tier_1_1: false37 SamplerFeedback: false38 AtomicInt64OnTypedResource: false39 AtomicInt64OnGroupShared: false40 DerivativesInMeshAndAmpShaders: false41 ResourceDescriptorHeapIndexing: false42 SamplerDescriptorHeapIndexing: false43 RESERVED: false44 AtomicInt64OnHeapResource: false45 AdvancedTextureOps: false46 WriteableMSAATextures: false47 SampleCmpWithGradientOrBias: false48 ExtendedCommandInfo: false49 NextUnusedBit: false50 - Name: ISG151 Size: 5252 - Name: OSG153 Size: 5254 - Name: PSG155 Size: 37256 - Name: PSV057 Size: 36458 PSVInfo:59 Version: 260 ShaderStage: 461 InputControlPointCount: 1662 OutputPositionPresent: 163 TessellatorDomain: 364 MinimumWaveLaneCount: 065 MaximumWaveLaneCount: 429496729566 UsesViewID: 167 SigPatchConstOrPrimVectors: 768 SigInputVectors: 169 SigOutputVectors: [ 1, 0, 0, 0 ]70 NumThreadsX: 071 NumThreadsY: 072 NumThreadsZ: 073 ResourceStride: 2474 Resources:75 - Type: CBV76 Space: 077 LowerBound: 078 UpperBound: 079 Kind: CBuffer80 Flags:81 UsedByAtomic64: true82 SigInputElements:83 - Name: AAA_HSFoo84 Indices: [ 0 ]85 StartRow: 086 Cols: 387 StartCol: 088 Allocated: true89 Kind: Arbitrary90 ComponentType: Float3291 Interpolation: Linear92 DynamicMask: 0x093 Stream: 094 SigOutputElements:95 - Name: ''96 Indices: [ 0 ]97 StartRow: 098 Cols: 499 StartCol: 0100 Allocated: true101 Kind: Position102 ComponentType: Float32103 Interpolation: LinearNoperspective104 DynamicMask: 0x0105 Stream: 0106 SigPatchOrPrimElements:107 - Name: ''108 Indices: [ 0, 1, 2, 3 ]109 StartRow: 0110 Cols: 1111 StartCol: 3112 Allocated: true113 Kind: TessFactor114 ComponentType: Float32115 Interpolation: Undefined116 DynamicMask: 0x0117 Stream: 0118 - Name: ''119 Indices: [ 0, 1 ]120 StartRow: 4121 Cols: 1122 StartCol: 3123 Allocated: true124 Kind: InsideTessFactor125 ComponentType: Float32126 Interpolation: Undefined127 DynamicMask: 0x0128 Stream: 0129 - Name: AAA130 Indices: [ 0 ]131 StartRow: 6132 Cols: 4133 StartCol: 0134 Allocated: true135 Kind: Arbitrary136 ComponentType: Float32137 Interpolation: Undefined138 DynamicMask: 0x0139 Stream: 0140 - Name: BBB141 Indices: [ 0, 1, 2 ]142 StartRow: 0143 Cols: 3144 StartCol: 0145 Allocated: true146 Kind: Arbitrary147 ComponentType: Float32148 Interpolation: Undefined149 DynamicMask: 0x0150 Stream: 0151 OutputVectorMasks:152 - [ 0x1 ]153 - [ ]154 - [ ]155 - [ ]156 InputOutputMap:157 - [ 0x0, 0xD, 0x0, 0x0 ]158 - [ ]159 - [ ]160 - [ ]161 PatchOutputMap: [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 162 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 163 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0 ]164 - Name: STAT165 Size: 1796166 - Name: HASH167 Size: 20168 Hash:169 IncludesSource: false170 Digest: [ 0xD4, 0x48, 0xCB, 0xFE, 0xF9, 0xCD, 0x92, 0x7B, 171 0xBD, 0x2B, 0x9A, 0x9D, 0xB4, 0x6F, 0x3E, 0x83 ]172 - Name: DXIL173 Size: 24174 Program:175 MajorVersion: 6176 MinorVersion: 1177 ShaderKind: 4178 Size: 6179 DXILMajorVersion: 1180 DXILMinorVersion: 1181 DXILSize: 0182...183 184# Verify the vector sizes and ViewID use.185# CHECK: UsesViewID: 1186# CHECK-NEXT: SigPatchConstOrPrimVectors: 7187# CHECK-NEXT: SigInputVectors: 1188# CHECK-NEXT: SigOutputVectors: [ 1, 0, 0, 0 ]189 190# Verify the vector mask encodings.191# CHECK: OutputVectorMasks:192# CHECK-NEXT: - [ 0x1 ]193# CHECK-NEXT: - [ ]194# CHECK-NEXT: - [ ]195# CHECK-NEXT: - [ ]196# CHECK-NEXT: InputOutputMap:197# CHECK-NEXT: - [ 0x0, 0xD, 0x0, 0x0 ]198# CHECK-NEXT: - [ ]199# CHECK-NEXT: - [ ]200# CHECK-NEXT: - [ ]201# CHECK-NEXT: PatchOutputMap: [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 202# CHECK-NEXT: 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 203# CHECK-NEXT: 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0 ]204