| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 25 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpMemberName %tint_symbol_tint_explicit_layout 0 "inner" |
| OpName %tint_symbol_tint_explicit_layout "tint_symbol_tint_explicit_layout" |
| OpMemberName %output_block 0 "inner" |
| OpName %output_block "output_block" |
| OpName %foo "foo" |
| OpName %main "main" |
| OpDecorate %_arr_uint_uint_1 ArrayStride 4 |
| OpMemberDecorate %tint_symbol_tint_explicit_layout 0 Offset 0 |
| OpDecorate %tint_symbol_tint_explicit_layout Block |
| OpMemberDecorate %output_block 0 Offset 0 |
| OpDecorate %output_block Block |
| OpDecorate %7 DescriptorSet 0 |
| OpDecorate %7 Binding 1 |
| OpDecorate %7 Coherent |
| %uint = OpTypeInt 32 0 |
| %uint_1 = OpConstant %uint 1 |
| %_arr_uint_uint_1 = OpTypeArray %uint %uint_1 |
| %tint_symbol_tint_explicit_layout = OpTypeStruct %_arr_uint_uint_1 |
| %_ptr_PushConstant_tint_symbol_tint_explicit_layout = OpTypePointer PushConstant %tint_symbol_tint_explicit_layout |
| %1 = OpVariable %_ptr_PushConstant_tint_symbol_tint_explicit_layout PushConstant |
| %output_block = OpTypeStruct %uint |
| %_ptr_StorageBuffer_output_block = OpTypePointer StorageBuffer %output_block |
| %7 = OpVariable %_ptr_StorageBuffer_output_block StorageBuffer |
| %void = OpTypeVoid |
| %12 = OpTypeFunction %void |
| %_ptr_PushConstant__arr_uint_uint_1 = OpTypePointer PushConstant %_arr_uint_uint_1 |
| %uint_0 = OpConstant %uint 0 |
| %_ptr_PushConstant_uint = OpTypePointer PushConstant %uint |
| %_ptr_StorageBuffer_uint = OpTypePointer StorageBuffer %uint |
| %foo = OpFunction %void None %12 |
| %13 = OpLabel |
| %14 = OpAccessChain %_ptr_PushConstant__arr_uint_uint_1 %1 %uint_0 |
| %17 = OpAccessChain %_ptr_PushConstant_uint %14 %uint_0 |
| %19 = OpLoad %uint %17 None |
| %20 = OpAccessChain %_ptr_StorageBuffer_uint %7 %uint_0 |
| OpStore %20 %19 None |
| OpReturn |
| OpFunctionEnd |
| %main = OpFunction %void None %12 |
| %23 = OpLabel |
| %24 = OpFunctionCall %void %foo |
| OpReturn |
| OpFunctionEnd |