184 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: 461210 PartCount: 811 PartOffsets: [ 64, 80, 148, 208, 488, 740, 2468, 2496 ]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: 6052 - Name: OSG153 Size: 5254 - Name: PSG155 Size: 27256 - Name: PSV057 Size: 24458 PSVInfo:59 Version: 260 ShaderStage: 361 InputControlPointCount: 3262 OutputControlPointCount: 1663 TessellatorDomain: 364 TessellatorOutputPrimitive: 365 MinimumWaveLaneCount: 066 MaximumWaveLaneCount: 429496729567 UsesViewID: 168 SigPatchConstOrPrimVectors: 769 SigInputVectors: 170 SigOutputVectors: [ 1, 0, 0, 0 ]71 NumThreadsX: 072 NumThreadsY: 073 NumThreadsZ: 074 ResourceStride: 2475 Resources: []76 SigInputElements:77 - Name: Sem_HSFoo_Input_qq78 Indices: [ 0 ]79 StartRow: 080 Cols: 481 StartCol: 082 Allocated: true83 Kind: Arbitrary84 ComponentType: Float3285 Interpolation: Linear86 DynamicMask: 0x087 Stream: 088 SigOutputElements:89 - Name: Sem_HSFoo90 Indices: [ 0 ]91 StartRow: 092 Cols: 493 StartCol: 094 Allocated: true95 Kind: Arbitrary96 ComponentType: Float3297 Interpolation: Linear98 DynamicMask: 0x099 Stream: 0100 SigPatchOrPrimElements:101 - Name: ''102 Indices: [ 0, 1, 2, 3 ]103 StartRow: 0104 Cols: 1105 StartCol: 3106 Allocated: true107 Kind: TessFactor108 ComponentType: Float32109 Interpolation: Undefined110 DynamicMask: 0x0111 Stream: 0112 - Name: ''113 Indices: [ 0, 1 ]114 StartRow: 4115 Cols: 1116 StartCol: 3117 Allocated: true118 Kind: InsideTessFactor119 ComponentType: Float32120 Interpolation: Undefined121 DynamicMask: 0x0122 Stream: 0123 - Name: AAA124 Indices: [ 0 ]125 StartRow: 6126 Cols: 4127 StartCol: 0128 Allocated: true129 Kind: Arbitrary130 ComponentType: Float32131 Interpolation: Undefined132 DynamicMask: 0x0133 Stream: 0134 OutputVectorMasks:135 - [ 0x4 ]136 - [ ]137 - [ ]138 - [ ]139 PatchOrPrimMasks: [ 0x800080 ]140 InputOutputMap:141 - [ 0x5, 0x2, 0x4, 0xC ]142 - [ ]143 - [ ]144 - [ ]145 InputPatchMap: [ 0x880000, 0x8888, 0x800000, 0x880000 ]146 - Name: STAT147 Size: 1720148 - Name: HASH149 Size: 20150 Hash:151 IncludesSource: false152 Digest: [ 0xF4, 0x87, 0x4C, 0x40, 0xFD, 0x7A, 0x89, 0xFE, 153 0x1F, 0xC3, 0xAB, 0x8C, 0xC7, 0x18, 0xA9, 0xA ]154 - Name: DXIL155 Size: 24156 Program:157 MajorVersion: 6158 MinorVersion: 1159 ShaderKind: 3160 Size: 5627161 DXILMajorVersion: 1162 DXILMinorVersion: 1163 DXILSize: 0164...165 166# Verify the vector sizes and ViewID use.167# CHECK: UsesViewID: 1168# CHECK-NEXT: SigPatchConstOrPrimVectors: 7169# CHECK-NEXT: SigInputVectors: 1170# CHECK-NEXT: SigOutputVectors: [ 1, 0, 0, 0 ]171 172# Verify the vector encodings.173# CHECK: OutputVectorMasks:174# CHECK-NEXT: - [ 0x4 ]175# CHECK-NEXT: - [ ]176# CHECK-NEXT: - [ ]177# CHECK-NEXT: - [ ]178# CHECK-NEXT: PatchOrPrimMasks: [ 0x800080 ]179# CHECK-NEXT: InputOutputMap:180# CHECK-NEXT: - [ 0x5, 0x2, 0x4, 0xC ]181# CHECK-NEXT: - [ ]182# CHECK-NEXT: - [ ]183# CHECK-NEXT: - [ ]184