| ; SPIR-V | |
| ; Version: 1.3 | |
| ; Generator: Google Tint Compiler; 0 | |
| ; Bound: 43 | |
| ; Schema: 0 | |
| OpCapability Shader | |
| OpMemoryModel Logical GLSL450 | |
| OpEntryPoint GLCompute %f "f" | |
| OpExecutionMode %f LocalSize 1 1 1 | |
| OpName %s_block "s_block" | |
| OpMemberName %s_block 0 "inner" | |
| OpName %S "S" | |
| OpMemberName %S 0 "a" | |
| OpName %strided_arr_1 "strided_arr_1" | |
| OpMemberName %strided_arr_1 0 "el" | |
| OpName %strided_arr "strided_arr" | |
| OpMemberName %strided_arr 0 "el" | |
| OpName %s "s" | |
| OpName %f_1 "f_1" | |
| OpName %f "f" | |
| OpDecorate %s_block Block | |
| OpMemberDecorate %s_block 0 Offset 0 | |
| OpMemberDecorate %S 0 Offset 0 | |
| OpMemberDecorate %strided_arr_1 0 Offset 0 | |
| OpMemberDecorate %strided_arr 0 Offset 0 | |
| OpDecorate %_arr_strided_arr_uint_2 ArrayStride 8 | |
| OpDecorate %_arr__arr_strided_arr_uint_2_uint_3 ArrayStride 16 | |
| OpDecorate %_arr_strided_arr_1_uint_4 ArrayStride 128 | |
| OpDecorate %s DescriptorSet 0 | |
| OpDecorate %s Binding 0 | |
| %float = OpTypeFloat 32 | |
| %strided_arr = OpTypeStruct %float | |
| %uint = OpTypeInt 32 0 | |
| %uint_2 = OpConstant %uint 2 | |
| %_arr_strided_arr_uint_2 = OpTypeArray %strided_arr %uint_2 | |
| %uint_3 = OpConstant %uint 3 | |
| %_arr__arr_strided_arr_uint_2_uint_3 = OpTypeArray %_arr_strided_arr_uint_2 %uint_3 | |
| %strided_arr_1 = OpTypeStruct %_arr__arr_strided_arr_uint_2_uint_3 | |
| %uint_4 = OpConstant %uint 4 | |
| %_arr_strided_arr_1_uint_4 = OpTypeArray %strided_arr_1 %uint_4 | |
| %S = OpTypeStruct %_arr_strided_arr_1_uint_4 | |
| %s_block = OpTypeStruct %S | |
| %_ptr_StorageBuffer_s_block = OpTypePointer StorageBuffer %s_block | |
| %s = OpVariable %_ptr_StorageBuffer_s_block StorageBuffer | |
| %void = OpTypeVoid | |
| %15 = OpTypeFunction %void | |
| %uint_0 = OpConstant %uint 0 | |
| %_ptr_StorageBuffer__arr_strided_arr_1_uint_4 = OpTypePointer StorageBuffer %_arr_strided_arr_1_uint_4 | |
| %int = OpTypeInt 32 1 | |
| %int_3 = OpConstant %int 3 | |
| %_ptr_StorageBuffer__arr__arr_strided_arr_uint_2_uint_3 = OpTypePointer StorageBuffer %_arr__arr_strided_arr_uint_2_uint_3 | |
| %int_2 = OpConstant %int 2 | |
| %_ptr_StorageBuffer__arr_strided_arr_uint_2 = OpTypePointer StorageBuffer %_arr_strided_arr_uint_2 | |
| %int_1 = OpConstant %int 1 | |
| %_ptr_StorageBuffer_float = OpTypePointer StorageBuffer %float | |
| %37 = OpConstantNull %_arr_strided_arr_1_uint_4 | |
| %float_5 = OpConstant %float 5 | |
| %f_1 = OpFunction %void None %15 | |
| %18 = OpLabel | |
| %21 = OpAccessChain %_ptr_StorageBuffer__arr_strided_arr_1_uint_4 %s %uint_0 %uint_0 | |
| %22 = OpLoad %_arr_strided_arr_1_uint_4 %21 | |
| %26 = OpAccessChain %_ptr_StorageBuffer__arr__arr_strided_arr_uint_2_uint_3 %s %uint_0 %uint_0 %int_3 %uint_0 | |
| %27 = OpLoad %_arr__arr_strided_arr_uint_2_uint_3 %26 | |
| %30 = OpAccessChain %_ptr_StorageBuffer__arr_strided_arr_uint_2 %s %uint_0 %uint_0 %int_3 %uint_0 %int_2 | |
| %31 = OpLoad %_arr_strided_arr_uint_2 %30 | |
| %34 = OpAccessChain %_ptr_StorageBuffer_float %s %uint_0 %uint_0 %int_3 %uint_0 %int_2 %int_1 %uint_0 | |
| %35 = OpLoad %float %34 | |
| %36 = OpAccessChain %_ptr_StorageBuffer__arr_strided_arr_1_uint_4 %s %uint_0 %uint_0 | |
| OpStore %36 %37 | |
| %38 = OpAccessChain %_ptr_StorageBuffer_float %s %uint_0 %uint_0 %int_3 %uint_0 %int_2 %int_1 %uint_0 | |
| OpStore %38 %float_5 | |
| OpReturn | |
| OpFunctionEnd | |
| %f = OpFunction %void None %15 | |
| %41 = OpLabel | |
| %42 = OpFunctionCall %void %f_1 | |
| OpReturn | |
| OpFunctionEnd |