| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 18 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpName %in_block "in_block" |
| OpMemberName %in_block 0 "inner" |
| OpName %in "in" |
| OpName %out "out" |
| OpName %main "main" |
| OpDecorate %in_block Block |
| OpMemberDecorate %in_block 0 Offset 0 |
| OpDecorate %_arr_float_uint_4 ArrayStride 4 |
| OpDecorate %in NonWritable |
| OpDecorate %in DescriptorSet 0 |
| OpDecorate %in Binding 0 |
| OpDecorate %out DescriptorSet 0 |
| OpDecorate %out Binding 1 |
| %float = OpTypeFloat 32 |
| %uint = OpTypeInt 32 0 |
| %uint_4 = OpConstant %uint 4 |
| %_arr_float_uint_4 = OpTypeArray %float %uint_4 |
| %in_block = OpTypeStruct %_arr_float_uint_4 |
| %_ptr_StorageBuffer_in_block = OpTypePointer StorageBuffer %in_block |
| %in = OpVariable %_ptr_StorageBuffer_in_block StorageBuffer |
| %out = OpVariable %_ptr_StorageBuffer_in_block StorageBuffer |
| %void = OpTypeVoid |
| %9 = OpTypeFunction %void |
| %uint_0 = OpConstant %uint 0 |
| %_ptr_StorageBuffer__arr_float_uint_4 = OpTypePointer StorageBuffer %_arr_float_uint_4 |
| %main = OpFunction %void None %9 |
| %12 = OpLabel |
| %15 = OpAccessChain %_ptr_StorageBuffer__arr_float_uint_4 %out %uint_0 |
| %16 = OpAccessChain %_ptr_StorageBuffer__arr_float_uint_4 %in %uint_0 |
| %17 = OpLoad %_arr_float_uint_4 %16 |
| OpStore %15 %17 |
| OpReturn |
| OpFunctionEnd |