Files
TheRock/compiler/spirv-llvm-translator/test/image_without_access_qualifier.spt
T
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

74 lines
1.6 KiB
Cheetah

119734787 65536 393230 34 0
2 Capability Addresses
2 Capability Linkage
2 Capability Kernel
2 Capability Int64
2 Capability ImageBasic
5 ExtInstImport 1 "OpenCL.std"
3 MemoryModel 2 2
6 EntryPoint 6 13 "image_test"
3 Source 3 200000
11 Name 5 "__spirv_BuiltInGlobalInvocationId"
4 Name 14 "srcImg"
4 Name 15 "samp"
4 Name 16 "result"
4 Name 17 "entry"
4 Name 19 "call"
4 Name 21 "call1"
4 Name 22 "conv"
4 Name 25 "vecinit"
4 Name 26 "conv2"
5 Name 27 "vecinit3"
7 Name 29 "TempSampledImage"
5 Name 30 "call4.old"
5 Name 33 "arrayidx"
4 Decorate 5 BuiltIn 28
3 Decorate 5 Constant
13 Decorate 5 LinkageAttributes "__spirv_BuiltInGlobalInvocationId" Import
4 TypeInt 2 64 0
4 TypeInt 9 32 0
4 TypeVector 3 2 3
4 TypePointer 4 0 3
2 TypeVoid 6
9 TypeImage 7 6 1 0 0 0 0 0
2 TypeSampler 8
4 TypeVector 10 9 4
4 TypePointer 11 5 10
6 TypeFunction 12 6 7 8 11
4 TypeVector 23 9 2
3 TypeSampledImage 28 7
3 TypeFloat 31 32
4 Variable 4 5 0
3 Undef 23 24
4 Constant 31 32 0
5 Function 6 13 0 12
3 FunctionParameter 7 14
3 FunctionParameter 8 15
3 FunctionParameter 11 16
2 Label 17
4 Load 3 18 5
5 CompositeExtract 2 19 18 0
4 Load 3 20 5
5 CompositeExtract 2 21 20 1
4 UConvert 9 22 19
6 CompositeInsert 23 25 22 24 0
4 UConvert 9 26 21
6 CompositeInsert 23 27 26 25 1
5 SampledImage 28 29 14 15
7 ImageSampleExplicitLod 10 30 29 27 2 32
5 InBoundsPtrAccessChain 11 33 16 19
5 Store 33 30 2 16
1 Return
1 FunctionEnd
; RUN: llvm-spirv %s -to-binary -o %t.spv
; RUN: spirv-val %t.spv
; RUN: llvm-spirv -r %t.spv -o %t.bc
; RUN: llvm-dis < %t.bc | FileCheck %s --check-prefix=CHECK-LLVM
; CHECK-LLVM: ocl_image2d_ro
; CHECK-LLVM: !{{[0-9]*}} = !{!"read_only", !"none", !"none"}