| 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 %m "m" | |
| OpName %buf0 "buf0" | |
| OpMemberName %buf0 0 "_GLF_uniform_int_values" | |
| OpName %_ "" | |
| OpName %a "a" | |
| OpName %buf1 "buf1" | |
| OpMemberName %buf1 0 "_GLF_uniform_float_values" | |
| OpName %__0 "" | |
| OpName %arr "arr" | |
| OpName %v "v" | |
| OpName %_GLF_color "_GLF_color" | |
| OpDecorate %_arr_int_uint_4 ArrayStride 16 | |
| OpMemberDecorate %buf0 0 Offset 0 | |
| OpDecorate %buf0 Block | |
| OpDecorate %_ DescriptorSet 0 | |
| OpDecorate %_ Binding 0 | |
| OpDecorate %_arr_float_uint_2 ArrayStride 16 | |
| OpMemberDecorate %buf1 0 Offset 0 | |
| OpDecorate %buf1 Block | |
| OpDecorate %__0 DescriptorSet 0 | |
| OpDecorate %__0 Binding 1 | |
| OpDecorate %_GLF_color Location 0 | |
| %void = OpTypeVoid | |
| %15 = OpTypeFunction %void | |
| %float = OpTypeFloat 32 | |
| %v3float = OpTypeVector %float 3 | |
| %mat3v3float = OpTypeMatrix %v3float 3 | |
| %_ptr_Function_mat3v3float = OpTypePointer Function %mat3v3float | |
| %int = OpTypeInt 32 1 | |
| %uint = OpTypeInt 32 0 | |
| %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 | |
| %_ = OpVariable %_ptr_Uniform_buf0 Uniform | |
| %int_0 = OpConstant %int 0 | |
| %_ptr_Uniform_int = OpTypePointer Uniform %int | |
| %float_1 = OpConstant %float 1 | |
| %float_0 = OpConstant %float 0 | |
| %_ptr_Function_int = OpTypePointer Function %int | |
| %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 | |
| %__0 = OpVariable %_ptr_Uniform_buf1 Uniform | |
| %_ptr_Uniform_float = OpTypePointer Uniform %float | |
| %_ptr_Function_float = OpTypePointer Function %float | |
| %_arr_v3float_uint_2 = OpTypeArray %v3float %uint_2 | |
| %_ptr_Function__arr_v3float_uint_2 = OpTypePointer Function %_arr_v3float_uint_2 | |
| %int_1 = OpConstant %int 1 | |
| %_ptr_Function_v3float = OpTypePointer Function %v3float | |
| %int_2 = OpConstant %int 2 | |
| %bool = OpTypeBool | |
| %v3bool = OpTypeVector %bool 3 | |
| %v4float = OpTypeVector %float 4 | |
| %_ptr_Output_v4float = OpTypePointer Output %v4float | |
| %_GLF_color = OpVariable %_ptr_Output_v4float Output | |
| %int_3 = OpConstant %int 3 | |
| %main = OpFunction %void None %15 | |
| %43 = OpLabel | |
| %m = OpVariable %_ptr_Function_mat3v3float Function | |
| %a = OpVariable %_ptr_Function_int Function | |
| %arr = OpVariable %_ptr_Function__arr_v3float_uint_2 Function | |
| %v = OpVariable %_ptr_Function_v3float Function | |
| %44 = OpAccessChain %_ptr_Uniform_int %_ %int_0 %int_0 | |
| %45 = OpLoad %int %44 | |
| %46 = OpConvertSToF %float %45 | |
| %47 = OpCompositeConstruct %v3float %46 %float_0 %float_0 | |
| %48 = OpCompositeConstruct %v3float %float_0 %46 %float_0 | |
| %49 = OpCompositeConstruct %v3float %float_0 %float_0 %46 | |
| %50 = OpCompositeConstruct %mat3v3float %47 %48 %49 | |
| OpStore %m %50 | |
| %51 = OpAccessChain %_ptr_Uniform_int %_ %int_0 %int_0 | |
| %52 = OpLoad %int %51 | |
| OpStore %a %52 | |
| %53 = OpLoad %int %a | |
| %54 = OpLoad %int %a | |
| %55 = OpAccessChain %_ptr_Uniform_float %__0 %int_0 %int_0 | |
| %56 = OpLoad %float %55 | |
| %57 = OpAccessChain %_ptr_Function_float %m %53 %54 | |
| OpStore %57 %56 | |
| %58 = OpAccessChain %_ptr_Function_v3float %m %int_1 | |
| %59 = OpLoad %v3float %58 | |
| %60 = OpAccessChain %_ptr_Function_v3float %m %int_1 | |
| %61 = OpLoad %v3float %60 | |
| %62 = OpCompositeConstruct %_arr_v3float_uint_2 %59 %61 | |
| OpStore %arr %62 | |
| %63 = OpAccessChain %_ptr_Uniform_float %__0 %int_0 %int_1 | |
| %64 = OpLoad %float %63 | |
| %65 = OpCompositeConstruct %v3float %64 %64 %64 | |
| OpStore %v %65 | |
| %66 = OpLoad %int %a | |
| %67 = OpAccessChain %_ptr_Function_v3float %arr %66 | |
| %68 = OpLoad %v3float %67 | |
| %69 = OpLoad %v3float %v | |
| %70 = OpFAdd %v3float %69 %68 | |
| OpStore %v %70 | |
| %71 = OpLoad %v3float %v | |
| %72 = OpAccessChain %_ptr_Uniform_int %_ %int_0 %int_1 | |
| %73 = OpLoad %int %72 | |
| %74 = OpConvertSToF %float %73 | |
| %75 = OpAccessChain %_ptr_Uniform_int %_ %int_0 %int_2 | |
| %76 = OpLoad %int %75 | |
| %77 = OpConvertSToF %float %76 | |
| %78 = OpAccessChain %_ptr_Uniform_int %_ %int_0 %int_1 | |
| %79 = OpLoad %int %78 | |
| %80 = OpConvertSToF %float %79 | |
| %81 = OpCompositeConstruct %v3float %74 %77 %80 | |
| %82 = OpFOrdEqual %v3bool %71 %81 | |
| %83 = OpAll %bool %82 | |
| OpSelectionMerge %84 None | |
| OpBranchConditional %83 %85 %86 | |
| %85 = OpLabel | |
| %87 = OpAccessChain %_ptr_Uniform_int %_ %int_0 %int_0 | |
| %88 = OpLoad %int %87 | |
| %89 = OpConvertSToF %float %88 | |
| %90 = OpAccessChain %_ptr_Uniform_int %_ %int_0 %int_3 | |
| %91 = OpLoad %int %90 | |
| %92 = OpConvertSToF %float %91 | |
| %93 = OpAccessChain %_ptr_Uniform_int %_ %int_0 %int_3 | |
| %94 = OpLoad %int %93 | |
| %95 = OpConvertSToF %float %94 | |
| %96 = OpAccessChain %_ptr_Uniform_int %_ %int_0 %int_0 | |
| %97 = OpLoad %int %96 | |
| %98 = OpConvertSToF %float %97 | |
| %99 = OpCompositeConstruct %v4float %89 %92 %95 %98 | |
| OpStore %_GLF_color %99 | |
| OpBranch %84 | |
| %86 = OpLabel | |
| %100 = OpAccessChain %_ptr_Uniform_int %_ %int_0 %int_3 | |
| %101 = OpLoad %int %100 | |
| %102 = OpConvertSToF %float %101 | |
| %103 = OpCompositeConstruct %v4float %102 %102 %102 %102 | |
| OpStore %_GLF_color %103 | |
| OpBranch %84 | |
| %84 = OpLabel | |
| OpReturn | |
| OpFunctionEnd |