Files
clang-p2996/llvm/test/tools/obj2yaml/DXContainer/ShaderFlagsEmpty.yaml
Chris Bieneman 76fca14750 [NFC] Update DXContainer tests to use fake parts
The tests that are focused on testing the file structure should use
fake part names so that the errors get triggered consistently. As we
add parsing support for known data types and structures under the parts
the parsing errors change to be more semantically accurate.

This change ensures the general errors continue to work with less churn
on the test cases in the future.
2022-12-09 13:16:49 -06:00

56 lines
1.6 KiB
YAML

# RUN: yaml2obj %s | obj2yaml | FileCheck %s
--- !dxcontainer
Header:
Hash: [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
Version:
Major: 1
Minor: 0
PartCount: 2
Parts:
- Name: SFI0
Size: 8
Flags:
Doubles: false
ComputeShadersPlusRawAndStructuredBuffers: false
UAVsAtEveryStage: false
Max64UAVs: false
MinimumPrecision: false
DX11_1_DoubleExtensions: false
DX11_1_ShaderExtensions: false
LEVEL9ComparisonFiltering: false
TiledResources: false
StencilRef: false
InnerCoverage: false
TypedUAVLoadAdditionalFormats: false
ROVs: false
ViewportAndRTArrayIndexFromAnyShaderFeedingRasterizer: false
WaveOps: false
Int64Ops: false
ViewID: false
Barycentrics: false
NativeLowPrecision: false
ShadingRate: false
Raytracing_Tier_1_1: false
SamplerFeedback: false
AtomicInt64OnTypedResource: false
AtomicInt64OnGroupShared: false
DerivativesInMeshAndAmpShaders: false
ResourceDescriptorHeapIndexing: false
SamplerDescriptorHeapIndexing: false
RESERVED: false
AtomicInt64OnHeapResource: false
AdvancedTextureOps: false
WriteableMSAATextures: false
NextUnusedBit: false
- Name: FKE0
Size: 8
...
# CHECK: Parts:
# CHECK-NEXT: - Name: SFI0
# CHECK-NEXT: Size: 8
# CHECK-NOT: Flags:
# CHECK-NEXT: - Name: FKE0