1# RUN: yaml2obj %s | obj2yaml | FileCheck %s 2 3# This test verifies that shader flags are omitted if they are all off. 4--- !dxcontainer 5Header: 6 Hash: [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 7 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ] 8 Version: 9 Major: 1 10 Minor: 0 11 PartCount: 2 12Parts: 13 - Name: SFI0 14 Size: 8 15 Flags: 16 Doubles: true 17 ComputeShadersPlusRawAndStructuredBuffers: false 18 UAVsAtEveryStage: true 19 Max64UAVs: false 20 MinimumPrecision: true 21 DX11_1_DoubleExtensions: false 22 DX11_1_ShaderExtensions: true 23 LEVEL9ComparisonFiltering: true 24 TiledResources: false 25 StencilRef: true 26 InnerCoverage: true 27 TypedUAVLoadAdditionalFormats: false 28 ROVs: false 29 ViewportAndRTArrayIndexFromAnyShaderFeedingRasterizer: true 30 WaveOps: false 31 Int64Ops: false 32 ViewID: true 33 Barycentrics: false 34 NativeLowPrecision: false 35 ShadingRate: false 36 Raytracing_Tier_1_1: true 37 SamplerFeedback: false 38 AtomicInt64OnTypedResource: false 39 AtomicInt64OnGroupShared: false 40 DerivativesInMeshAndAmpShaders: true 41 ResourceDescriptorHeapIndexing: false 42 SamplerDescriptorHeapIndexing: false 43 RESERVED: true 44 AtomicInt64OnHeapResource: false 45 AdvancedTextureOps: true 46 WriteableMSAATextures: false 47 NextUnusedBit: true 48 - Name: FKE0 49 Size: 8 50... 51 52# CHECK: Parts: 53# CHECK-NEXT: - Name: SFI0 54# CHECK-NEXT: Size: 8 55# CHECK-NEXT: Flags: 56# CHECK-NEXT: Doubles: true 57# CHECK-NEXT: ComputeShadersPlusRawAndStructuredBuffers: false 58# CHECK-NEXT: UAVsAtEveryStage: true 59# CHECK-NEXT: Max64UAVs: false 60# CHECK-NEXT: MinimumPrecision: true 61# CHECK-NEXT: DX11_1_DoubleExtensions: false 62# CHECK-NEXT: DX11_1_ShaderExtensions: true 63# CHECK-NEXT: LEVEL9ComparisonFiltering: true 64# CHECK-NEXT: TiledResources: false 65# CHECK-NEXT: StencilRef: true 66# CHECK-NEXT: InnerCoverage: true 67# CHECK-NEXT: TypedUAVLoadAdditionalFormats: false 68# CHECK-NEXT: ROVs: false 69# CHECK-NEXT: ViewportAndRTArrayIndexFromAnyShaderFeedingRasterizer: true 70# CHECK-NEXT: WaveOps: false 71# CHECK-NEXT: Int64Ops: false 72# CHECK-NEXT: ViewID: true 73# CHECK-NEXT: Barycentrics: false 74# CHECK-NEXT: NativeLowPrecision: false 75# CHECK-NEXT: ShadingRate: false 76# CHECK-NEXT: Raytracing_Tier_1_1: true 77# CHECK-NEXT: SamplerFeedback: false 78# CHECK-NEXT: AtomicInt64OnTypedResource: false 79# CHECK-NEXT: AtomicInt64OnGroupShared: false 80# CHECK-NEXT: DerivativesInMeshAndAmpShaders: true 81# CHECK-NEXT: ResourceDescriptorHeapIndexing: false 82# CHECK-NEXT: SamplerDescriptorHeapIndexing: false 83# CHECK-NEXT: RESERVED: true 84# CHECK-NEXT: AtomicInt64OnHeapResource: false 85# CHECK-NEXT: AdvancedTextureOps: true 86# CHECK-NEXT: WriteableMSAATextures: false 87# CHECK-NEXT: NextUnusedBit: true 88