2 %1 = OpExtInstImport "GLSL.std.450"
3 OpMemoryModel Logical GLSL450
4 OpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor %sk_Clockwise
5 OpExecutionMode %_entrypoint_v OriginUpperLeft
6 OpName %sk_FragColor "sk_FragColor"
7 OpName %sk_Clockwise "sk_Clockwise"
8 OpName %_UniformBuffer "_UniformBuffer"
9 OpMemberName %_UniformBuffer 0 "unknownInput"
10 OpName %_entrypoint_v "_entrypoint_v"
14 OpDecorate %sk_FragColor RelaxedPrecision
15 OpDecorate %sk_FragColor Location 0
16 OpDecorate %sk_FragColor Index 0
17 OpDecorate %sk_Clockwise BuiltIn FrontFacing
18 OpMemberDecorate %_UniformBuffer 0 Offset 0
19 OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
20 OpDecorate %_UniformBuffer Block
21 OpDecorate %10 Binding 0
22 OpDecorate %10 DescriptorSet 0
23 OpDecorate %32 RelaxedPrecision
24 OpDecorate %46 RelaxedPrecision
25 OpDecorate %48 RelaxedPrecision
26 OpDecorate %50 RelaxedPrecision
27 OpDecorate %52 RelaxedPrecision
28 OpDecorate %53 RelaxedPrecision
29 %float = OpTypeFloat 32
30 %v4float = OpTypeVector %float 4
31 %_ptr_Output_v4float = OpTypePointer Output %v4float
32 %sk_FragColor = OpVariable %_ptr_Output_v4float Output
34 %_ptr_Input_bool = OpTypePointer Input %bool
35 %sk_Clockwise = OpVariable %_ptr_Input_bool Input
36 %_UniformBuffer = OpTypeStruct %float
37 %_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
38 %10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
40 %15 = OpTypeFunction %void
41 %float_0 = OpConstant %float 0
42 %v2float = OpTypeVector %float 2
43 %19 = OpConstantComposite %v2float %float_0 %float_0
44 %_ptr_Function_v2float = OpTypePointer Function %v2float
45 %23 = OpTypeFunction %v4float %_ptr_Function_v2float
47 %_ptr_Function_int = OpTypePointer Function %int
48 %_ptr_Uniform_float = OpTypePointer Uniform %float
49 %int_0 = OpConstant %int 0
50 %v4int = OpTypeVector %int 4
51 %_ptr_Function_v4int = OpTypePointer Function %v4int
52 %v2int = OpTypeVector %int 2
53 %int_1 = OpConstant %int 1
54 %_entrypoint_v = OpFunction %void None %15
56 %20 = OpVariable %_ptr_Function_v2float Function
58 %22 = OpFunctionCall %v4float %main %20
59 OpStore %sk_FragColor %22
62 %main = OpFunction %v4float None %23
63 %24 = OpFunctionParameter %_ptr_Function_v2float
65 %i = OpVariable %_ptr_Function_int Function
66 %i4 = OpVariable %_ptr_Function_v4int Function
67 %29 = OpAccessChain %_ptr_Uniform_float %10 %int_0
68 %32 = OpLoad %float %29
69 %33 = OpConvertFToS %int %32
71 %37 = OpCompositeConstruct %v4int %33 %33 %33 %33
73 %39 = OpCompositeConstruct %v2int %33 %33
74 %40 = OpCompositeExtract %int %39 0
75 %41 = OpCompositeExtract %int %39 1
76 %43 = OpCompositeConstruct %v4int %40 %41 %int_0 %int_1
78 %44 = OpCompositeConstruct %v4int %int_0 %33 %int_1 %int_0
80 %45 = OpCompositeConstruct %v4int %int_0 %33 %int_0 %33
82 %46 = OpConvertSToF %float %int_0
83 %47 = OpCompositeExtract %int %45 1
84 %48 = OpConvertSToF %float %47
85 %49 = OpCompositeExtract %int %45 2
86 %50 = OpConvertSToF %float %49
87 %51 = OpCompositeExtract %int %45 3
88 %52 = OpConvertSToF %float %51
89 %53 = OpCompositeConstruct %v4float %46 %48 %50 %52