blob: adbcc5f53575612e05e6403ac7f1c3691ed8bab6 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 17
; 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"
%bool = OpTypeBool
%_ptr_Workgroup_bool = OpTypePointer Workgroup %bool
%v = OpVariable %_ptr_Workgroup_bool Workgroup
%5 = OpTypeFunction %bool
%void = OpTypeVoid
%uint = OpTypeInt 32 0
%uint_2 = OpConstant %uint 2
%uint_264 = OpConstant %uint 264
%15 = OpTypeFunction %void
%foo = OpFunction %bool None %5
%6 = OpLabel
OpControlBarrier %uint_2 %uint_2 %uint_264
%12 = OpLoad %bool %v None
OpControlBarrier %uint_2 %uint_2 %uint_264
OpReturnValue %12
OpFunctionEnd
%unused_entry_point = OpFunction %void None %15
%16 = OpLabel
OpReturn
OpFunctionEnd