| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 27 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpMemberName %v_block_tint_explicit_layout 0 "inner" |
| OpName %v_block_tint_explicit_layout "v_block_tint_explicit_layout" |
| OpMemberName %out_block 0 "inner" |
| OpName %out_block "out_block" |
| OpName %main "main" |
| OpDecorate %_arr_v4uint_uint_8 ArrayStride 16 |
| OpMemberDecorate %v_block_tint_explicit_layout 0 Offset 0 |
| OpDecorate %v_block_tint_explicit_layout Block |
| OpDecorate %1 DescriptorSet 0 |
| OpDecorate %1 Binding 0 |
| OpDecorate %1 NonWritable |
| OpMemberDecorate %out_block 0 Offset 0 |
| OpDecorate %out_block Block |
| OpDecorate %8 DescriptorSet 0 |
| OpDecorate %8 Binding 1 |
| OpDecorate %8 Coherent |
| %uint = OpTypeInt 32 0 |
| %v4uint = OpTypeVector %uint 4 |
| %uint_8 = OpConstant %uint 8 |
| %_arr_v4uint_uint_8 = OpTypeArray %v4uint %uint_8 |
| %v_block_tint_explicit_layout = OpTypeStruct %_arr_v4uint_uint_8 |
| %_ptr_Uniform_v_block_tint_explicit_layout = OpTypePointer Uniform %v_block_tint_explicit_layout |
| %1 = OpVariable %_ptr_Uniform_v_block_tint_explicit_layout Uniform |
| %float = OpTypeFloat 32 |
| %v2float = OpTypeVector %float 2 |
| %out_block = OpTypeStruct %v2float |
| %_ptr_StorageBuffer_out_block = OpTypePointer StorageBuffer %out_block |
| %8 = OpVariable %_ptr_StorageBuffer_out_block StorageBuffer |
| %void = OpTypeVoid |
| %15 = OpTypeFunction %void |
| %_ptr_Uniform_v4uint = OpTypePointer Uniform %v4uint |
| %uint_0 = OpConstant %uint 0 |
| %uint_2 = OpConstant %uint 2 |
| %v2uint = OpTypeVector %uint 2 |
| %_ptr_StorageBuffer_v2float = OpTypePointer StorageBuffer %v2float |
| %main = OpFunction %void None %15 |
| %16 = OpLabel |
| %17 = OpAccessChain %_ptr_Uniform_v4uint %1 %uint_0 %uint_2 |
| %21 = OpLoad %v4uint %17 None |
| %22 = OpVectorShuffle %v2uint %21 %21 0 1 |
| %24 = OpBitcast %v2float %22 |
| %25 = OpAccessChain %_ptr_StorageBuffer_v2float %8 %uint_0 |
| OpStore %25 %24 None |
| OpReturn |
| OpFunctionEnd |