1; SPIR-V 2; Version: 1.0 3; Generator: Khronos LLVM/SPIR-V Translator; 14 4; Bound: 11 5; Schema: 0 6 OpCapability Addresses 7 OpCapability Kernel 8; %1 = OpExtInstImport "OpenCL.std" 9 OpMemoryModel Physical64 OpenCL 10 OpEntryPoint Kernel %6 "write_kernel" 11; %10 = OpString "kernel_arg_type.write_kernel.uint*," 12; OpSource OpenCL_C 200000 13; OpDecorate %7 FuncParamAttr NoCapture 14 %uint = OpTypeInt 32 0 15 %uint_42 = OpConstant %uint 42 16 %void = OpTypeVoid 17%_ptr_CrossWorkgroup_uint = OpTypePointer CrossWorkgroup %uint 18 %5 = OpTypeFunction %void %_ptr_CrossWorkgroup_uint 19 %6 = OpFunction %void None %5 20 %7 = OpFunctionParameter %_ptr_CrossWorkgroup_uint 21 %8 = OpLabel 22 OpStore %7 %uint_42 Aligned 4 23 OpReturn 24 OpFunctionEnd 25