43 lines · plain
1## Tests that the copied DXContainer is identical to the original, ensuring all2## the different headers are correctly handled.3 4# RUN: yaml2obj %s -o %t5# RUN: llvm-objcopy %t %t.out6# RUN: cmp %t %t.out7 8--- !dxcontainer9Header:10 Hash: [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,11 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]12 Version:13 Major: 114 Minor: 015 FileSize: 199616 PartCount: 717 PartOffsets: [ 60, 76, 92, 108, 236, 1932, 1960 ]18Parts:19 - Name: FKE020 Size: 821 - Name: FKE122 Size: 823 - Name: FKE224 Size: 825 - Name: FKE326 Size: 12027 - Name: FKE428 Size: 168829 - Name: FKE530 Size: 2031 - Name: DXIL32 Size: 2833 Program:34 MajorVersion: 635 MinorVersion: 536 ShaderKind: 537 Size: 838 DXILMajorVersion: 139 DXILMinorVersion: 540 DXILSize: 441 DXIL: [ 0x42, 0x43, 0xC0, 0xDE, ]42...43