1*c8dee2aaSAndroid Build Coastguard Worker OpCapability Shader 2*c8dee2aaSAndroid Build Coastguard Worker %1 = OpExtInstImport "GLSL.std.450" 3*c8dee2aaSAndroid Build Coastguard Worker OpMemoryModel Logical GLSL450 4*c8dee2aaSAndroid Build Coastguard Worker OpEntryPoint Fragment %main "main" 5*c8dee2aaSAndroid Build Coastguard Worker OpExecutionMode %main OriginUpperLeft 6*c8dee2aaSAndroid Build Coastguard Worker OpName %foo_ff "foo_ff" 7*c8dee2aaSAndroid Build Coastguard Worker OpName %main "main" 8*c8dee2aaSAndroid Build Coastguard Worker OpName %y "y" 9*c8dee2aaSAndroid Build Coastguard Worker OpDecorate %_arr_float_int_2 ArrayStride 16 10*c8dee2aaSAndroid Build Coastguard Worker %float = OpTypeFloat 32 11*c8dee2aaSAndroid Build Coastguard Worker %int = OpTypeInt 32 1 12*c8dee2aaSAndroid Build Coastguard Worker %int_2 = OpConstant %int 2 13*c8dee2aaSAndroid Build Coastguard Worker%_arr_float_int_2 = OpTypeArray %float %int_2 14*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function__arr_float_int_2 = OpTypePointer Function %_arr_float_int_2 15*c8dee2aaSAndroid Build Coastguard Worker %9 = OpTypeFunction %float %_ptr_Function__arr_float_int_2 16*c8dee2aaSAndroid Build Coastguard Worker %int_1 = OpConstant %int 1 17*c8dee2aaSAndroid Build Coastguard Worker%_ptr_Function_float = OpTypePointer Function %float 18*c8dee2aaSAndroid Build Coastguard Worker %int_0 = OpConstant %int 0 19*c8dee2aaSAndroid Build Coastguard Worker %void = OpTypeVoid 20*c8dee2aaSAndroid Build Coastguard Worker %19 = OpTypeFunction %void 21*c8dee2aaSAndroid Build Coastguard Worker %foo_ff = OpFunction %float None %9 22*c8dee2aaSAndroid Build Coastguard Worker %10 = OpFunctionParameter %_ptr_Function__arr_float_int_2 23*c8dee2aaSAndroid Build Coastguard Worker %11 = OpLabel 24*c8dee2aaSAndroid Build Coastguard Worker %13 = OpAccessChain %_ptr_Function_float %10 %int_1 25*c8dee2aaSAndroid Build Coastguard Worker %15 = OpLoad %float %13 26*c8dee2aaSAndroid Build Coastguard Worker %17 = OpAccessChain %_ptr_Function_float %10 %int_0 27*c8dee2aaSAndroid Build Coastguard Worker OpStore %17 %15 28*c8dee2aaSAndroid Build Coastguard Worker OpReturnValue %15 29*c8dee2aaSAndroid Build Coastguard Worker OpFunctionEnd 30*c8dee2aaSAndroid Build Coastguard Worker %main = OpFunction %void None %19 31*c8dee2aaSAndroid Build Coastguard Worker %20 = OpLabel 32*c8dee2aaSAndroid Build Coastguard Worker %y = OpVariable %_ptr_Function__arr_float_int_2 Function 33*c8dee2aaSAndroid Build Coastguard Worker %23 = OpVariable %_ptr_Function__arr_float_int_2 Function 34*c8dee2aaSAndroid Build Coastguard Worker %22 = OpLoad %_arr_float_int_2 %y 35*c8dee2aaSAndroid Build Coastguard Worker OpStore %23 %22 36*c8dee2aaSAndroid Build Coastguard Worker %24 = OpFunctionCall %float %foo_ff %23 37*c8dee2aaSAndroid Build Coastguard Worker OpReturn 38*c8dee2aaSAndroid Build Coastguard Worker OpFunctionEnd 39