| OpCapability Shader | |
| %1 = OpExtInstImport "GLSL.std.450" | |
| OpMemoryModel Logical GLSL450 | |
| OpEntryPoint Fragment %main "main" %sk_FragColor | |
| OpExecutionMode %main OriginUpperLeft | |
| OpName %sk_FragColor "sk_FragColor" | |
| OpName %main "main" | |
| OpName %array "array" | |
| OpName %x "x" | |
| OpName %y "y" | |
| OpName %z "z" | |
| OpName %w "w" | |
| OpDecorate %sk_FragColor RelaxedPrecision | |
| OpDecorate %sk_FragColor Location 0 | |
| OpDecorate %sk_FragColor Index 0 | |
| OpDecorate %_arr_float_int_4 ArrayStride 16 | |
| OpDecorate %x RelaxedPrecision | |
| OpDecorate %y RelaxedPrecision | |
| OpDecorate %40 RelaxedPrecision | |
| %float = OpTypeFloat 32 | |
| %v4float = OpTypeVector %float 4 | |
| %_ptr_Output_v4float = OpTypePointer Output %v4float | |
| %sk_FragColor = OpVariable %_ptr_Output_v4float Output | |
| %void = OpTypeVoid | |
| %8 = OpTypeFunction %void | |
| %int = OpTypeInt 32 1 | |
| %int_4 = OpConstant %int 4 | |
| %_arr_float_int_4 = OpTypeArray %float %int_4 | |
| %_ptr_Function__arr_float_int_4 = OpTypePointer Function %_arr_float_int_4 | |
| %float_1 = OpConstant %float 1 | |
| %float_2 = OpConstant %float 2 | |
| %float_3 = OpConstant %float 3 | |
| %float_4 = OpConstant %float 4 | |
| %_ptr_Function_int = OpTypePointer Function %int | |
| %int_0 = OpConstant %int 0 | |
| %uint = OpTypeInt 32 0 | |
| %_ptr_Function_uint = OpTypePointer Function %uint | |
| %uint_1 = OpConstant %uint 1 | |
| %int_2 = OpConstant %int 2 | |
| %uint_3 = OpConstant %uint 3 | |
| %_ptr_Function_float = OpTypePointer Function %float | |
| %main = OpFunction %void None %8 | |
| %9 = OpLabel | |
| %array = OpVariable %_ptr_Function__arr_float_int_4 Function | |
| %x = OpVariable %_ptr_Function_int Function | |
| %y = OpVariable %_ptr_Function_uint Function | |
| %z = OpVariable %_ptr_Function_int Function | |
| %w = OpVariable %_ptr_Function_uint Function | |
| %19 = OpCompositeConstruct %_arr_float_int_4 %float_1 %float_2 %float_3 %float_4 | |
| OpStore %array %19 | |
| OpStore %x %int_0 | |
| OpStore %y %uint_1 | |
| OpStore %z %int_2 | |
| OpStore %w %uint_3 | |
| %31 = OpAccessChain %_ptr_Function_float %array %int_0 | |
| %33 = OpLoad %float %31 | |
| %34 = OpAccessChain %_ptr_Function_float %array %uint_1 | |
| %35 = OpLoad %float %34 | |
| %36 = OpAccessChain %_ptr_Function_float %array %int_2 | |
| %37 = OpLoad %float %36 | |
| %38 = OpAccessChain %_ptr_Function_float %array %uint_3 | |
| %39 = OpLoad %float %38 | |
| %40 = OpCompositeConstruct %v4float %33 %35 %37 %39 | |
| OpStore %sk_FragColor %40 | |
| OpReturn | |
| OpFunctionEnd |