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
165 lines
7.4 KiB
LLVM
165 lines
7.4 KiB
LLVM
; RUN: llc %s --filetype=obj -o - | obj2yaml | FileCheck %s --check-prefix=DXC
|
|
|
|
target triple = "dxil-unknown-shadermodel6.0-compute"
|
|
|
|
define void @main() #0 {
|
|
entry:
|
|
ret void
|
|
}
|
|
attributes #0 = { "hlsl.numthreads"="1,1,1" "hlsl.shader"="compute" }
|
|
|
|
|
|
!dx.rootsignatures = !{!2} ; list of function/root signature pairs
|
|
!2 = !{ ptr @main, !3, i32 2 } ; function, root signature
|
|
!3 = !{ !5, !21 } ; list of root signature elements
|
|
!5 = !{ !"DescriptorTable", i32 0, !10, !11, !12, !13, !14, !15, !16, !17, !18, !19, !20 }
|
|
!21 = !{ !"DescriptorTable", i32 0, !6, !8, !9 }
|
|
|
|
; typedef enum D3D12_DESCRIPTOR_RANGE_FLAGS {
|
|
; NONE = 0,
|
|
; DESCRIPTORS_VOLATILE = 0x1,
|
|
; DATA_VOLATILE = 0x2,
|
|
; DATA_STATIC_WHILE_SET_AT_EXECUTE = 0x4,
|
|
; DATA_STATIC = 0x8,
|
|
; DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS = 0x10000
|
|
; } ;
|
|
|
|
;0
|
|
!6 = !{ !"Sampler", i32 1, i32 0, i32 1, i32 -1, i32 0 }
|
|
;DESCRIPTORS_VOLATILE
|
|
!8 = !{ !"Sampler", i32 1, i32 0, i32 3, i32 -1, i32 1 }
|
|
;DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS
|
|
!9 = !{ !"Sampler", i32 1, i32 0, i32 4, i32 -1, i32 65536 }
|
|
;0
|
|
!10 = !{ !"SRV", i32 1, i32 0, i32 5, i32 -1, i32 1 }
|
|
;DESCRIPTORS_VOLATILE
|
|
!11 = !{ !"UAV", i32 5, i32 1, i32 6, i32 5, i32 1 }
|
|
;DATA_VOLATILE
|
|
!12 = !{ !"CBV", i32 5, i32 1, i32 7, i32 5, i32 2 }
|
|
;DATA_STATIC
|
|
!13 = !{ !"SRV", i32 5, i32 1, i32 8, i32 5, i32 8 }
|
|
;DATA_STATIC_WHILE_SET_AT_EXECUTE
|
|
!14 = !{ !"UAV", i32 5, i32 1, i32 9, i32 5, i32 4 }
|
|
;DESCRIPTORS_VOLATILE | DATA_VOLATILE
|
|
!15 = !{ !"CBV", i32 5, i32 1, i32 10, i32 5, i32 3 }
|
|
;DESCRIPTORS_VOLATILE | DATA_STATIC_WHILE_SET_AT_EXECUTE
|
|
!16 = !{ !"SRV", i32 5, i32 1, i32 11, i32 5, i32 5 }
|
|
;DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS
|
|
!17 = !{ !"UAV", i32 5, i32 1, i32 12, i32 5, i32 65536 }
|
|
;DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS | DATA_VOLATILE
|
|
!18 = !{ !"CBV", i32 5, i32 1, i32 13, i32 5, i32 65538 }
|
|
;DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS | DATA_STATIC
|
|
!19 = !{ !"SRV", i32 5, i32 1, i32 14, i32 5, i32 65544 }
|
|
;DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS | DATA_STATIC_WHILE_SET_AT_EXECUTE
|
|
!20 = !{ !"UAV", i32 5, i32 1, i32 15, i32 5, i32 65540 }
|
|
|
|
;DXC:- Name: RTS0
|
|
;DXC-NEXT: Size: 400
|
|
;DXC-NEXT: RootSignature:
|
|
;DXC-NEXT: Version: 2
|
|
;DXC-NEXT: NumRootParameters: 2
|
|
;DXC-NEXT: RootParametersOffset: 24
|
|
;DXC-NEXT: NumStaticSamplers: 0
|
|
;DXC-NEXT: StaticSamplersOffset: 400
|
|
;DXC-NEXT: Parameters:
|
|
;DXC-NEXT: - ParameterType: DescriptorTable
|
|
;DXC-NEXT: ShaderVisibility: All
|
|
;DXC-NEXT: Table:
|
|
;DXC-NEXT: NumRanges: 11
|
|
;DXC-NEXT: RangesOffset: 56
|
|
;DXC-NEXT: Ranges:
|
|
;DXC-NEXT: - RangeType: SRV
|
|
;DXC-NEXT: NumDescriptors: 1
|
|
;DXC-NEXT: BaseShaderRegister: 0
|
|
;DXC-NEXT: RegisterSpace: 5
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 4294967295
|
|
;DXC-NEXT: DESCRIPTORS_VOLATILE: true
|
|
;DXC-NEXT: - RangeType: UAV
|
|
;DXC-NEXT: NumDescriptors: 5
|
|
;DXC-NEXT: BaseShaderRegister: 1
|
|
;DXC-NEXT: RegisterSpace: 6
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 5
|
|
;DXC-NEXT: DESCRIPTORS_VOLATILE: true
|
|
;DXC-NEXT: - RangeType: CBuffer
|
|
;DXC-NEXT: NumDescriptors: 5
|
|
;DXC-NEXT: BaseShaderRegister: 1
|
|
;DXC-NEXT: RegisterSpace: 7
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 5
|
|
;DXC-NEXT: DATA_VOLATILE: true
|
|
;DXC-NEXT: - RangeType: SRV
|
|
;DXC-NEXT: NumDescriptors: 5
|
|
;DXC-NEXT: BaseShaderRegister: 1
|
|
;DXC-NEXT: RegisterSpace: 8
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 5
|
|
;DXC-NEXT: DATA_STATIC: true
|
|
;DXC-NEXT: - RangeType: UAV
|
|
;DXC-NEXT: NumDescriptors: 5
|
|
;DXC-NEXT: BaseShaderRegister: 1
|
|
;DXC-NEXT: RegisterSpace: 9
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 5
|
|
;DXC-NEXT: DATA_STATIC_WHILE_SET_AT_EXECUTE: true
|
|
;DXC-NEXT: - RangeType: CBuffer
|
|
;DXC-NEXT: NumDescriptors: 5
|
|
;DXC-NEXT: BaseShaderRegister: 1
|
|
;DXC-NEXT: RegisterSpace: 10
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 5
|
|
;DXC-NEXT: DESCRIPTORS_VOLATILE: true
|
|
;DXC-NEXT: DATA_VOLATILE: true
|
|
;DXC-NEXT: - RangeType: SRV
|
|
;DXC-NEXT: NumDescriptors: 5
|
|
;DXC-NEXT: BaseShaderRegister: 1
|
|
;DXC-NEXT: RegisterSpace: 11
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 5
|
|
;DXC-NEXT: DESCRIPTORS_VOLATILE: true
|
|
;DXC-NEXT: DATA_STATIC_WHILE_SET_AT_EXECUTE: true
|
|
;DXC-NEXT: - RangeType: UAV
|
|
;DXC-NEXT: NumDescriptors: 5
|
|
;DXC-NEXT: BaseShaderRegister: 1
|
|
;DXC-NEXT: RegisterSpace: 12
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 5
|
|
;DXC-NEXT: DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS: true
|
|
;DXC-NEXT: - RangeType: CBuffer
|
|
;DXC-NEXT: NumDescriptors: 5
|
|
;DXC-NEXT: BaseShaderRegister: 1
|
|
;DXC-NEXT: RegisterSpace: 13
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 5
|
|
;DXC-NEXT: DATA_VOLATILE: true
|
|
;DXC-NEXT: DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS: true
|
|
;DXC-NEXT: - RangeType: SRV
|
|
;DXC-NEXT: NumDescriptors: 5
|
|
;DXC-NEXT: BaseShaderRegister: 1
|
|
;DXC-NEXT: RegisterSpace: 14
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 5
|
|
;DXC-NEXT: DATA_STATIC: true
|
|
;DXC-NEXT: DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS: true
|
|
;DXC-NEXT: - RangeType: UAV
|
|
;DXC-NEXT: NumDescriptors: 5
|
|
;DXC-NEXT: BaseShaderRegister: 1
|
|
;DXC-NEXT: RegisterSpace: 15
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 5
|
|
;DXC-NEXT: DATA_STATIC_WHILE_SET_AT_EXECUTE: true
|
|
;DXC-NEXT: DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS: true
|
|
;DXC-NEXT: - ParameterType: DescriptorTable
|
|
;DXC-NEXT: ShaderVisibility: All
|
|
;DXC-NEXT: Table:
|
|
;DXC-NEXT: NumRanges: 3
|
|
;DXC-NEXT: RangesOffset: 328
|
|
;DXC-NEXT: Ranges:
|
|
;DXC-NEXT: - RangeType: Sampler
|
|
;DXC-NEXT: NumDescriptors: 1
|
|
;DXC-NEXT: BaseShaderRegister: 0
|
|
;DXC-NEXT: RegisterSpace: 1
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 4294967295
|
|
;DXC-NEXT: - RangeType: Sampler
|
|
;DXC-NEXT: NumDescriptors: 1
|
|
;DXC-NEXT: BaseShaderRegister: 0
|
|
;DXC-NEXT: RegisterSpace: 3
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 4294967295
|
|
;DXC-NEXT: DESCRIPTORS_VOLATILE: true
|
|
;DXC-NEXT: - RangeType: Sampler
|
|
;DXC-NEXT: NumDescriptors: 1
|
|
;DXC-NEXT: BaseShaderRegister: 0
|
|
;DXC-NEXT: RegisterSpace: 4
|
|
;DXC-NEXT: OffsetInDescriptorsFromTableStart: 4294967295
|
|
;DXC-NEXT: DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS: true
|