| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 1 |
| ; Bound: 24 |
| ; 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" |
| OpName %main "main" |
| OpName %u "u" |
| OpDecorate %_arr_v4uint_uint_1 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 |
| %uint = OpTypeInt 32 0 |
| %v4uint = OpTypeVector %uint 4 |
| %uint_1 = OpConstant %uint 1 |
| %_arr_v4uint_uint_1 = OpTypeArray %v4uint %uint_1 |
| %v_block_tint_explicit_layout = OpTypeStruct %_arr_v4uint_uint_1 |
| %_ptr_Uniform_v_block_tint_explicit_layout = OpTypePointer Uniform %v_block_tint_explicit_layout |
| %1 = OpVariable %_ptr_Uniform_v_block_tint_explicit_layout Uniform |
| %void = OpTypeVoid |
| %10 = OpTypeFunction %void |
| %_ptr_Uniform_v4uint = OpTypePointer Uniform %v4uint |
| %uint_0 = OpConstant %uint 0 |
| %int = OpTypeInt 32 1 |
| %int_1 = OpConstant %int 1 |
| %main = OpFunction %void None %10 |
| %11 = OpLabel |
| %12 = OpAccessChain %_ptr_Uniform_v4uint %1 %uint_0 %uint_0 |
| %15 = OpLoad %v4uint %12 None |
| %16 = OpCompositeExtract %uint %15 0 |
| %18 = OpBitcast %int %16 |
| %19 = OpBitcast %uint %18 |
| %20 = OpBitcast %uint %int_1 |
| %22 = OpIAdd %uint %19 %20 |
| %u = OpBitcast %int %22 |
| OpReturn |
| OpFunctionEnd |