| OpCapability Shader | |
| %1 = OpExtInstImport "GLSL.std.450" | |
| OpMemoryModel Logical GLSL450 | |
| OpEntryPoint Fragment %main "main" %_GLF_color | |
| OpExecutionMode %main OriginUpperLeft | |
| OpSource ESSL 320 | |
| OpName %main "main" | |
| OpName %f "f" | |
| OpName %arr "arr" | |
| OpName %buf1 "buf1" | |
| OpMemberName %buf1 0 "_GLF_uniform_float_values" | |
| OpName %_ "" | |
| OpName %buf0 "buf0" | |
| OpMemberName %buf0 0 "_GLF_uniform_int_values" | |
| OpName %__0 "" | |
| OpName %_GLF_color "_GLF_color" | |
| OpDecorate %_arr_float_uint_2 ArrayStride 16 | |
| OpMemberDecorate %buf1 0 Offset 0 | |
| OpDecorate %buf1 Block | |
| OpDecorate %_ DescriptorSet 0 | |
| OpDecorate %_ Binding 1 | |
| OpDecorate %_arr_int_uint_4 ArrayStride 16 | |
| OpMemberDecorate %buf0 0 Offset 0 | |
| OpDecorate %buf0 Block | |
| OpDecorate %__0 DescriptorSet 0 | |
| OpDecorate %__0 Binding 0 | |
| OpDecorate %_GLF_color Location 0 | |
| %void = OpTypeVoid | |
| %13 = OpTypeFunction %void | |
| %float = OpTypeFloat 32 | |
| %_ptr_Function_float = OpTypePointer Function %float | |
| %float_2 = OpConstant %float 2 | |
| %uint = OpTypeInt 32 0 | |
| %uint_10 = OpConstant %uint 10 | |
| %_arr_float_uint_10 = OpTypeArray %float %uint_10 | |
| %_ptr_Function__arr_float_uint_10 = OpTypePointer Function %_arr_float_uint_10 | |
| %uint_2 = OpConstant %uint 2 | |
| %_arr_float_uint_2 = OpTypeArray %float %uint_2 | |
| %buf1 = OpTypeStruct %_arr_float_uint_2 | |
| %_ptr_Uniform_buf1 = OpTypePointer Uniform %buf1 | |
| %_ = OpVariable %_ptr_Uniform_buf1 Uniform | |
| %int = OpTypeInt 32 1 | |
| %int_0 = OpConstant %int 0 | |
| %_ptr_Uniform_float = OpTypePointer Uniform %float | |
| %int_1 = OpConstant %int 1 | |
| %uint_4 = OpConstant %uint 4 | |
| %_arr_int_uint_4 = OpTypeArray %int %uint_4 | |
| %buf0 = OpTypeStruct %_arr_int_uint_4 | |
| %_ptr_Uniform_buf0 = OpTypePointer Uniform %buf0 | |
| %__0 = OpVariable %_ptr_Uniform_buf0 Uniform | |
| %_ptr_Uniform_int = OpTypePointer Uniform %int | |
| %int_3 = OpConstant %int 3 | |
| %bool = OpTypeBool | |
| %v4float = OpTypeVector %float 4 | |
| %_ptr_Output_v4float = OpTypePointer Output %v4float | |
| %_GLF_color = OpVariable %_ptr_Output_v4float Output | |
| %int_2 = OpConstant %int 2 | |
| %main = OpFunction %void None %13 | |
| %35 = OpLabel | |
| %f = OpVariable %_ptr_Function_float Function | |
| %arr = OpVariable %_ptr_Function__arr_float_uint_10 Function | |
| OpStore %f %float_2 | |
| %36 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_0 | |
| %37 = OpLoad %float %36 | |
| %38 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_0 | |
| %39 = OpLoad %float %38 | |
| %40 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_0 | |
| %41 = OpLoad %float %40 | |
| %42 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_0 | |
| %43 = OpLoad %float %42 | |
| %44 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_0 | |
| %45 = OpLoad %float %44 | |
| %46 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_0 | |
| %47 = OpLoad %float %46 | |
| %48 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_0 | |
| %49 = OpLoad %float %48 | |
| %50 = OpLoad %float %f | |
| %51 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_1 | |
| %52 = OpLoad %float %51 | |
| %53 = OpExtInst %float %1 Pow %50 %52 | |
| %54 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_0 | |
| %55 = OpLoad %float %54 | |
| %56 = OpAccessChain %_ptr_Uniform_float %_ %int_0 %int_0 | |
| %57 = OpLoad %float %56 | |
| %58 = OpCompositeConstruct %_arr_float_uint_10 %37 %39 %41 %43 %45 %47 %49 %53 %55 %57 | |
| OpStore %arr %58 | |
| %59 = OpAccessChain %_ptr_Uniform_int %__0 %int_0 %int_0 | |
| %60 = OpLoad %int %59 | |
| %61 = OpAccessChain %_ptr_Function_float %arr %60 | |
| %62 = OpLoad %float %61 | |
| %63 = OpConvertFToS %int %62 | |
| %64 = OpAccessChain %_ptr_Uniform_int %__0 %int_0 %int_3 | |
| %65 = OpLoad %int %64 | |
| %66 = OpIEqual %bool %63 %65 | |
| OpSelectionMerge %67 None | |
| OpBranchConditional %66 %68 %69 | |
| %68 = OpLabel | |
| %70 = OpAccessChain %_ptr_Uniform_int %__0 %int_0 %int_1 | |
| %71 = OpLoad %int %70 | |
| %72 = OpConvertSToF %float %71 | |
| %73 = OpAccessChain %_ptr_Uniform_int %__0 %int_0 %int_2 | |
| %74 = OpLoad %int %73 | |
| %75 = OpConvertSToF %float %74 | |
| %76 = OpAccessChain %_ptr_Uniform_int %__0 %int_0 %int_2 | |
| %77 = OpLoad %int %76 | |
| %78 = OpConvertSToF %float %77 | |
| %79 = OpAccessChain %_ptr_Uniform_int %__0 %int_0 %int_1 | |
| %80 = OpLoad %int %79 | |
| %81 = OpConvertSToF %float %80 | |
| %82 = OpCompositeConstruct %v4float %72 %75 %78 %81 | |
| OpStore %_GLF_color %82 | |
| OpBranch %67 | |
| %69 = OpLabel | |
| %83 = OpAccessChain %_ptr_Uniform_int %__0 %int_0 %int_2 | |
| %84 = OpLoad %int %83 | |
| %85 = OpConvertSToF %float %84 | |
| %86 = OpCompositeConstruct %v4float %85 %85 %85 %85 | |
| OpStore %_GLF_color %86 | |
| OpBranch %67 | |
| %67 = OpLabel | |
| OpReturn | |
| OpFunctionEnd |