177 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: 383610 PartCount: 711 PartOffsets: [ 60, 76, 204, 292, 584, 2092, 2120 ]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: 12052 - Name: OSG153 Size: 8054 - Name: PSV055 Size: 28456 PSVInfo:57 Version: 258 ShaderStage: 259 InputPrimitive: 360 OutputTopology: 161 OutputStreamMask: 362 OutputPositionPresent: 063 MinimumWaveLaneCount: 064 MaximumWaveLaneCount: 429496729565 UsesViewID: 166 MaxVertexCount: 367 SigInputVectors: 368 SigOutputVectors: [ 1, 1, 0, 0 ]69 NumThreadsX: 070 NumThreadsY: 071 NumThreadsZ: 072 ResourceStride: 2473 Resources: []74 SigInputElements:75 - Name: ''76 Indices: [ 0 ]77 StartRow: 078 Cols: 479 StartCol: 080 Allocated: true81 Kind: Position82 ComponentType: Float3283 Interpolation: LinearNoperspective84 DynamicMask: 0x085 Stream: 086 - Name: AAA87 Indices: [ 2 ]88 StartRow: 189 Cols: 290 StartCol: 091 Allocated: true92 Kind: Arbitrary93 ComponentType: Float3294 Interpolation: Linear95 DynamicMask: 0x096 Stream: 097 - Name: AAA98 Indices: [ 3 ]99 StartRow: 2100 Cols: 4101 StartCol: 0102 Allocated: true103 Kind: Arbitrary104 ComponentType: Float32105 Interpolation: Linear106 DynamicMask: 0x0107 Stream: 0108 SigOutputElements:109 - Name: BBB110 Indices: [ 0 ]111 StartRow: 0112 Cols: 4113 StartCol: 0114 Allocated: true115 Kind: Arbitrary116 ComponentType: Float32117 Interpolation: Linear118 DynamicMask: 0x0119 Stream: 0120 - Name: CCC121 Indices: [ 0 ]122 StartRow: 0123 Cols: 4124 StartCol: 0125 Allocated: true126 Kind: Arbitrary127 ComponentType: Float32128 Interpolation: Linear129 DynamicMask: 0x0130 Stream: 1131 SigPatchOrPrimElements: []132 OutputVectorMasks:133 - [ 0xE ]134 - [ 0x5 ]135 - [ ]136 - [ ]137 InputOutputMap:138 - [ 0x2, 0x4, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]139 - [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x4, 0x8 ]140 - [ ]141 - [ ]142 - Name: STAT143 Size: 1500144 - Name: HASH145 Size: 20146 Hash:147 IncludesSource: false148 Digest: [ 0x10, 0xA2, 0x84, 0xA5, 0x76, 0xA6, 0x28, 0x82, 149 0x21, 0x39, 0x1, 0xE0, 0x53, 0x19, 0xBE, 0x79 ]150 - Name: DXIL151 Size: 24152 Program:153 MajorVersion: 6154 MinorVersion: 1155 ShaderKind: 2156 Size: 6157 DXILMajorVersion: 1158 DXILMinorVersion: 1159 DXILSize: 0160...161 162# Verify the vector sizes.163# CHECK: SigInputVectors: 3164# CHECK-NEXT: SigOutputVectors: [ 1, 1, 0, 0 ]165 166# Verify the vector mask encodings.167# CHECK: OutputVectorMasks:168# CHECK-NEXT: - [ 0xE ]169# CHECK-NEXT: - [ 0x5 ]170# CHECK-NEXT: - [ ]171# CHECK-NEXT: - [ ]172# CHECK-NEXT: InputOutputMap:173# CHECK-NEXT: - [ 0x2, 0x4, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]174# CHECK-NEXT: - [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2, 0x4, 0x8 ]175# CHECK-NEXT: - [ ]176# CHECK-NEXT: - [ ]177