CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
99 lines
2.6 KiB
Plaintext
99 lines
2.6 KiB
Plaintext
## Tests that the copied DXContainer correctly retains only the RTS0 part even
|
|
## when it was defined to be removed.
|
|
|
|
# RUN: yaml2obj %s -o %t
|
|
# RUN: llvm-objcopy --remove-section=RTS0 --only-section=RTS0 %t %t.out
|
|
# RUN: obj2yaml %t.out | FileCheck %s --implicit-check-not=Name:
|
|
|
|
## The DXContainer described below was generated with:
|
|
|
|
## `clang-dxc -T cs_6_7 test.hlsl /Fo temp.dxo`
|
|
## `obj2yaml temp.dxo`
|
|
|
|
## ``` test.hlsl
|
|
## [RootSignature("")]
|
|
## [numthreads(1,1,1)]
|
|
## void main() {}
|
|
## ```
|
|
|
|
## FileSize = 32 + 24 (RTS0 content) + 4 (1 part offset) + 8 (1 part header)
|
|
## = 68
|
|
# CHECK: FileSize: 68
|
|
# CHECK-NEXT: PartCount: 1
|
|
# CHECK-NEXT: PartOffsets: [ 36 ]
|
|
# CHECK-NEXT: Parts
|
|
# CHECK-NEXT: Name: RTS0
|
|
|
|
--- !dxcontainer
|
|
Header:
|
|
Hash: [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
|
|
Version:
|
|
Major: 1
|
|
Minor: 0
|
|
FileSize: 1984
|
|
PartCount: 7
|
|
PartOffsets: [ 60, 1792, 1808, 1836, 1852, 1868, 1900 ]
|
|
Parts:
|
|
- Name: DXIL
|
|
Size: 1724
|
|
Program:
|
|
MajorVersion: 6
|
|
MinorVersion: 7
|
|
ShaderKind: 5
|
|
Size: 28
|
|
DXILMajorVersion: 1
|
|
DXILMinorVersion: 7
|
|
DXILSize: 4
|
|
DXIL: [ 0x42, 0x43, 0xC0, 0xDE, ]
|
|
- Name: SFI0
|
|
Size: 8
|
|
- Name: HASH
|
|
Size: 20
|
|
Hash:
|
|
IncludesSource: false
|
|
Digest: [ 0x9F, 0xD1, 0xD9, 0xE2, 0x49, 0xFB, 0x3A, 0x6C,
|
|
0x8C, 0x14, 0x8A, 0x96, 0x1C, 0x7D, 0x85, 0xA9 ]
|
|
- Name: ISG1
|
|
Size: 8
|
|
Signature:
|
|
Parameters: []
|
|
- Name: OSG1
|
|
Size: 8
|
|
Signature:
|
|
Parameters: []
|
|
- Name: RTS0
|
|
Size: 24
|
|
RootSignature:
|
|
Version: 2
|
|
NumRootParameters: 0
|
|
RootParametersOffset: 24
|
|
NumStaticSamplers: 0
|
|
StaticSamplersOffset: 24
|
|
Parameters: []
|
|
- Name: PSV0
|
|
Size: 76
|
|
PSVInfo:
|
|
Version: 3
|
|
ShaderStage: 5
|
|
MinimumWaveLaneCount: 0
|
|
MaximumWaveLaneCount: 4294967295
|
|
UsesViewID: 0
|
|
SigInputVectors: 0
|
|
SigOutputVectors: [ 0, 0, 0, 0 ]
|
|
NumThreadsX: 1
|
|
NumThreadsY: 1
|
|
NumThreadsZ: 1
|
|
EntryName: main
|
|
ResourceStride: 24
|
|
Resources: []
|
|
SigInputElements: []
|
|
SigOutputElements: []
|
|
SigPatchOrPrimElements: []
|
|
InputOutputMap:
|
|
- [ ]
|
|
- [ ]
|
|
- [ ]
|
|
- [ ]
|
|
...
|