| OpCapability Shader |
| %1 = OpExtInstImport "GLSL.std.450" |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint Fragment %main "main" %_GLF_color |
| OpExecutionMode %main OriginUpperLeft |
| OpSource ESSL 310 |
| OpName %main "main" |
| OpName %a "a" |
| OpName %buf1 "buf1" |
| OpMemberName %buf1 0 "_GLF_uniform_uint_values" |
| OpName %_ "" |
| OpName %buf2 "buf2" |
| OpMemberName %buf2 0 "_GLF_uniform_float_values" |
| OpName %__0 "" |
| OpName %b "b" |
| OpName %c "c" |
| OpName %_GLF_color "_GLF_color" |
| OpName %buf0 "buf0" |
| OpMemberName %buf0 0 "_GLF_uniform_int_values" |
| OpName %__1 "" |
| OpDecorate %_arr_uint_uint_2 ArrayStride 16 |
| OpMemberDecorate %buf1 0 Offset 0 |
| OpDecorate %buf1 Block |
| OpDecorate %_ DescriptorSet 0 |
| OpDecorate %_ Binding 1 |
| OpDecorate %_arr_float_uint_1 ArrayStride 16 |
| OpMemberDecorate %buf2 0 Offset 0 |
| OpDecorate %buf2 Block |
| OpDecorate %__0 DescriptorSet 0 |
| OpDecorate %__0 Binding 2 |
| OpDecorate %_GLF_color Location 0 |
| OpDecorate %_arr_int_uint_2 ArrayStride 16 |
| OpMemberDecorate %buf0 0 Offset 0 |
| OpDecorate %buf0 Block |
| OpDecorate %__1 DescriptorSet 0 |
| OpDecorate %__1 Binding 0 |
| %void = OpTypeVoid |
| %17 = OpTypeFunction %void |
| %uint = OpTypeInt 32 0 |
| %_ptr_Function_uint = OpTypePointer Function %uint |
| %uint_2 = OpConstant %uint 2 |
| %_arr_uint_uint_2 = OpTypeArray %uint %uint_2 |
| %buf1 = OpTypeStruct %_arr_uint_uint_2 |
| %_ptr_Uniform_buf1 = OpTypePointer Uniform %buf1 |
| %_ = OpVariable %_ptr_Uniform_buf1 Uniform |
| %int = OpTypeInt 32 1 |
| %int_0 = OpConstant %int 0 |
| %_ptr_Uniform_uint = OpTypePointer Uniform %uint |
| %float = OpTypeFloat 32 |
| %uint_1 = OpConstant %uint 1 |
| %_arr_float_uint_1 = OpTypeArray %float %uint_1 |
| %buf2 = OpTypeStruct %_arr_float_uint_1 |
| %_ptr_Uniform_buf2 = OpTypePointer Uniform %buf2 |
| %__0 = OpVariable %_ptr_Uniform_buf2 Uniform |
| %_ptr_Uniform_float = OpTypePointer Uniform %float |
| %_ptr_Function_float = OpTypePointer Function %float |
| %bool = OpTypeBool |
| %v4float = OpTypeVector %float 4 |
| %_ptr_Output_v4float = OpTypePointer Output %v4float |
| %_GLF_color = OpVariable %_ptr_Output_v4float Output |
| %_arr_int_uint_2 = OpTypeArray %int %uint_2 |
| %buf0 = OpTypeStruct %_arr_int_uint_2 |
| %_ptr_Uniform_buf0 = OpTypePointer Uniform %buf0 |
| %__1 = OpVariable %_ptr_Uniform_buf0 Uniform |
| %_ptr_Uniform_int = OpTypePointer Uniform %int |
| %int_1 = OpConstant %int 1 |
| %main = OpFunction %void None %17 |
| %36 = OpLabel |
| %a = OpVariable %_ptr_Function_uint Function |
| %b = OpVariable %_ptr_Function_float Function |
| %c = OpVariable %_ptr_Function_uint Function |
| %37 = OpAccessChain %_ptr_Uniform_uint %_ %int_0 %int_0 |
| %38 = OpLoad %uint %37 |
| %39 = OpAccessChain %_ptr_Uniform_float %__0 %int_0 %int_0 |
| %40 = OpLoad %float %39 |
| %41 = OpConvertFToU %uint %40 |
| %42 = OpShiftRightLogical %uint %38 %41 |
| OpStore %a %42 |
| %43 = OpLoad %uint %a |
| %44 = OpBitcast %float %43 |
| OpStore %b %44 |
| %45 = OpLoad %float %b |
| %46 = OpBitcast %uint %45 |
| OpStore %c %46 |
| %47 = OpLoad %uint %c |
| %48 = OpAccessChain %_ptr_Uniform_uint %_ %int_0 %int_0 |
| %49 = OpLoad %uint %48 |
| %50 = OpIEqual %bool %47 %49 |
| OpSelectionMerge %51 None |
| OpBranchConditional %50 %52 %53 |
| %52 = OpLabel |
| %54 = OpAccessChain %_ptr_Uniform_int %__1 %int_0 %int_0 |
| %55 = OpLoad %int %54 |
| %56 = OpConvertSToF %float %55 |
| %57 = OpAccessChain %_ptr_Uniform_int %__1 %int_0 %int_1 |
| %58 = OpLoad %int %57 |
| %59 = OpConvertSToF %float %58 |
| %60 = OpAccessChain %_ptr_Uniform_int %__1 %int_0 %int_1 |
| %61 = OpLoad %int %60 |
| %62 = OpConvertSToF %float %61 |
| %63 = OpAccessChain %_ptr_Uniform_int %__1 %int_0 %int_0 |
| %64 = OpLoad %int %63 |
| %65 = OpConvertSToF %float %64 |
| %66 = OpCompositeConstruct %v4float %56 %59 %62 %65 |
| OpStore %_GLF_color %66 |
| OpBranch %51 |
| %53 = OpLabel |
| %67 = OpLoad %float %b |
| %68 = OpCompositeConstruct %v4float %67 %67 %67 %67 |
| OpStore %_GLF_color %68 |
| OpBranch %51 |
| %51 = OpLabel |
| OpReturn |
| OpFunctionEnd |