1c62c7463SCooper Partin# RUN: yaml2obj %s | obj2yaml | FileCheck %s 2c62c7463SCooper Partin 3c62c7463SCooper Partin--- !dxcontainer 4c62c7463SCooper PartinHeader: 5c62c7463SCooper Partin Hash: [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 6c62c7463SCooper Partin 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ] 7c62c7463SCooper Partin Version: 8c62c7463SCooper Partin Major: 1 9c62c7463SCooper Partin Minor: 0 10c62c7463SCooper Partin PartCount: 2 11c62c7463SCooper PartinParts: 12c62c7463SCooper Partin - Name: PSV0 13c62c7463SCooper Partin Size: 144 14c62c7463SCooper Partin PSVInfo: 15c62c7463SCooper Partin Version: 3 16c62c7463SCooper Partin ShaderStage: 4 17c62c7463SCooper Partin InputControlPointCount: 1024 18c62c7463SCooper Partin OutputPositionPresent: 1 19c62c7463SCooper Partin TessellatorDomain: 2056 20c62c7463SCooper Partin MinimumWaveLaneCount: 0 21c62c7463SCooper Partin MaximumWaveLaneCount: 4294967295 22c62c7463SCooper Partin UsesViewID: 0 23c62c7463SCooper Partin SigPatchConstOrPrimVectors: 0 24c62c7463SCooper Partin SigInputVectors: 0 25c62c7463SCooper Partin SigOutputVectors: [ 0, 16, 32, 64 ] 26c62c7463SCooper Partin NumThreadsX: 512 27c62c7463SCooper Partin NumThreadsY: 1024 28c62c7463SCooper Partin NumThreadsZ: 2048 29c62c7463SCooper Partin EntryName: DSEntry 30c62c7463SCooper Partin ResourceStride: 24 31c62c7463SCooper Partin Resources: 32fd0dbc7fSXiang Li - Type: Sampler 33c62c7463SCooper Partin Space: 2 34c62c7463SCooper Partin LowerBound: 3 35c62c7463SCooper Partin UpperBound: 4 36fd0dbc7fSXiang Li Kind: TextureCube 37*26f6091dSXiang Li Flags: 38*26f6091dSXiang Li UsedByAtomic64: false 39fd0dbc7fSXiang Li - Type: Invalid 40c62c7463SCooper Partin Space: 32768 41c62c7463SCooper Partin LowerBound: 8388608 42c62c7463SCooper Partin UpperBound: 2147483648 43fd0dbc7fSXiang Li Kind: Invalid 44*26f6091dSXiang Li Flags: 45*26f6091dSXiang Li UsedByAtomic64: false 46c62c7463SCooper Partin SigInputElements: [] 47c62c7463SCooper Partin SigOutputElements: [] 48c62c7463SCooper Partin SigPatchOrPrimElements: [] 49c62c7463SCooper Partin InputOutputMap: 50c62c7463SCooper Partin - [ ] 51c62c7463SCooper Partin - [ ] 52c62c7463SCooper Partin - [ ] 53c62c7463SCooper Partin - [ ] 54c62c7463SCooper Partin PatchOutputMap: [] 55c62c7463SCooper Partin - Name: DXIL 56c62c7463SCooper Partin Size: 24 57c62c7463SCooper Partin Program: 58c62c7463SCooper Partin MajorVersion: 6 59c62c7463SCooper Partin MinorVersion: 0 60c62c7463SCooper Partin ShaderKind: 4 61c62c7463SCooper Partin Size: 6 62c62c7463SCooper Partin DXILMajorVersion: 0 63c62c7463SCooper Partin DXILMinorVersion: 1 64c62c7463SCooper Partin DXILSize: 0 65c62c7463SCooper Partin... 66c62c7463SCooper Partin 67c62c7463SCooper Partin# CHECK: Name: PSV0 68c62c7463SCooper Partin# CHECK: PSVInfo: 69c62c7463SCooper Partin# CHECK-NEXT: Version: 3 70c62c7463SCooper Partin# CHECK-NEXT: ShaderStage: 4 71c62c7463SCooper Partin# CHECK-NEXT: InputControlPointCount: 1024 72c62c7463SCooper Partin# CHECK-NEXT: OutputPositionPresent: 1 73c62c7463SCooper Partin# CHECK-NEXT: TessellatorDomain: 2056 74c62c7463SCooper Partin# CHECK-NEXT: MinimumWaveLaneCount: 0 75c62c7463SCooper Partin# CHECK-NEXT: MaximumWaveLaneCount: 4294967295 76c62c7463SCooper Partin# CHECK-NEXT: UsesViewID: 0 77c62c7463SCooper Partin# CHECK-NEXT: SigPatchConstOrPrimVectors: 0 78c62c7463SCooper Partin# CHECK-NEXT: SigInputVectors: 0 79c62c7463SCooper Partin# CHECK-NEXT: SigOutputVectors: [ 0, 16, 32, 64 ] 80c62c7463SCooper Partin# CHECK-NEXT: NumThreadsX: 512 81c62c7463SCooper Partin# CHECK-NEXT: NumThreadsY: 1024 82c62c7463SCooper Partin# CHECK-NEXT: NumThreadsZ: 2048 83c62c7463SCooper Partin# CHECK-NEXT: EntryName: DSEntry 84c62c7463SCooper Partin# CHECK-NEXT: ResourceStride: 24 85c62c7463SCooper Partin# CHECK-NEXT: Resources: 86fd0dbc7fSXiang Li# CHECK-NEXT: - Type: Sampler 87c62c7463SCooper Partin# CHECK-NEXT: Space: 2 88c62c7463SCooper Partin# CHECK-NEXT: LowerBound: 3 89c62c7463SCooper Partin# CHECK-NEXT: UpperBound: 4 90fd0dbc7fSXiang Li# CHECK-NEXT: Kind: TextureCube 91*26f6091dSXiang Li# CHECK-NEXT: Flags: 92*26f6091dSXiang Li# CHECK-NEXT: UsedByAtomic64: false 93fd0dbc7fSXiang Li# CHECK-NEXT: - Type: Invalid 94c62c7463SCooper Partin# CHECK-NEXT: Space: 32768 95c62c7463SCooper Partin# CHECK-NEXT: LowerBound: 8388608 96c62c7463SCooper Partin# CHECK-NEXT: UpperBound: 2147483648 97fd0dbc7fSXiang Li# CHECK-NEXT: Kind: Invalid 98*26f6091dSXiang Li# CHECK-NEXT: Flags: 99*26f6091dSXiang Li# CHECK-NEXT: UsedByAtomic64: false 100c62c7463SCooper Partin# CHECK-NEXT: SigInputElements: [] 101c62c7463SCooper Partin# CHECK-NEXT: SigOutputElements: [] 102c62c7463SCooper Partin# CHECK-NEXT: SigPatchOrPrimElements: [] 103c62c7463SCooper Partin# CHECK-NEXT: InputOutputMap: 104c62c7463SCooper Partin# CHECK-NEXT: - [ ] 105c62c7463SCooper Partin# CHECK-NEXT: - [ ] 106c62c7463SCooper Partin# CHECK-NEXT: - [ ] 107c62c7463SCooper Partin# CHECK-NEXT: - [ ] 108c62c7463SCooper Partin# CHECK-NEXT: PatchOutputMap: [ ] 109c62c7463SCooper Partin# CHECK-NEXT: Name 110