| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 22 |
| ; 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 %unused_entry_point "unused_entry_point" |
| OpName %tint_workgroupUniformLoad_v "tint_workgroupUniformLoad_v" |
| OpName %foo "foo" |
| %float = OpTypeFloat 32 |
| %v3float = OpTypeVector %float 3 |
| %mat3v3float = OpTypeMatrix %v3float 3 |
| %_ptr_Workgroup_mat3v3float = OpTypePointer Workgroup %mat3v3float |
| %v = OpVariable %_ptr_Workgroup_mat3v3float Workgroup |
| %void = OpTypeVoid |
| %6 = OpTypeFunction %void |
| %10 = OpTypeFunction %mat3v3float |
| %uint = OpTypeInt 32 0 |
| %uint_2 = OpConstant %uint 2 |
| %uint_264 = OpConstant %uint 264 |
| %unused_entry_point = OpFunction %void None %6 |
| %9 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %tint_workgroupUniformLoad_v = OpFunction %mat3v3float None %10 |
| %12 = OpLabel |
| OpControlBarrier %uint_2 %uint_2 %uint_264 |
| %17 = OpLoad %mat3v3float %v |
| OpControlBarrier %uint_2 %uint_2 %uint_264 |
| OpReturnValue %17 |
| OpFunctionEnd |
| %foo = OpFunction %mat3v3float None %10 |
| %20 = OpLabel |
| %21 = OpFunctionCall %mat3v3float %tint_workgroupUniformLoad_v |
| OpReturnValue %21 |
| OpFunctionEnd |