| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 18 |
| ; 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" |
| %float = OpTypeFloat 32 |
| %v4float = OpTypeVector %float 4 |
| %_ptr_Workgroup_v4float = OpTypePointer Workgroup %v4float |
| %v = OpVariable %_ptr_Workgroup_v4float Workgroup |
| %6 = OpTypeFunction %v4float |
| %void = OpTypeVoid |
| %uint = OpTypeInt 32 0 |
| %uint_2 = OpConstant %uint 2 |
| %uint_264 = OpConstant %uint 264 |
| %16 = OpTypeFunction %void |
| %foo = OpFunction %v4float None %6 |
| %7 = OpLabel |
| OpControlBarrier %uint_2 %uint_2 %uint_264 |
| %13 = OpLoad %v4float %v None |
| OpControlBarrier %uint_2 %uint_2 %uint_264 |
| OpReturnValue %13 |
| OpFunctionEnd |
| %unused_entry_point = OpFunction %void None %16 |
| %17 = OpLabel |
| OpReturn |
| OpFunctionEnd |