blob: 1a222852ae551497cd2e894af55d185c417ebea2 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 19
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %v "v"
OpName %foo "foo"
OpName %unused_entry_point "unused_entry_point"
OpDecorate %_arr_int_uint_4 ArrayStride 4
%int = OpTypeInt 32 1
%uint = OpTypeInt 32 0
%uint_4 = OpConstant %uint 4
%_arr_int_uint_4 = OpTypeArray %int %uint_4
%_ptr_Workgroup__arr_int_uint_4 = OpTypePointer Workgroup %_arr_int_uint_4
%v = OpVariable %_ptr_Workgroup__arr_int_uint_4 Workgroup
%8 = OpTypeFunction %_arr_int_uint_4
%void = OpTypeVoid
%uint_2 = OpConstant %uint 2
%uint_264 = OpConstant %uint 264
%17 = OpTypeFunction %void
%foo = OpFunction %_arr_int_uint_4 None %8
%9 = OpLabel
OpControlBarrier %uint_2 %uint_2 %uint_264
%14 = OpLoad %_arr_int_uint_4 %v None
OpControlBarrier %uint_2 %uint_2 %uint_264
OpReturnValue %14
OpFunctionEnd
%unused_entry_point = OpFunction %void None %17
%18 = OpLabel
OpReturn
OpFunctionEnd