1OpCapability Shader
2%1 = OpExtInstImport "GLSL.std.450"
3OpMemoryModel Logical GLSL450
4OpEntryPoint Fragment %main "main" %sk_FragColor %sk_Clockwise
5OpExecutionMode %main OriginUpperLeft
6OpName %sk_FragColor "sk_FragColor"
7OpName %sk_Clockwise "sk_Clockwise"
8OpName %_UniformBuffer "_UniformBuffer"
9OpMemberName %_UniformBuffer 0 "a"
10OpMemberName %_UniformBuffer 1 "b"
11OpName %main "main"
12OpDecorate %sk_FragColor RelaxedPrecision
13OpDecorate %sk_FragColor Location 0
14OpDecorate %sk_FragColor Index 0
15OpDecorate %sk_Clockwise BuiltIn FrontFacing
16OpMemberDecorate %_UniformBuffer 0 Offset 0
17OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
18OpMemberDecorate %_UniformBuffer 1 Offset 16
19OpMemberDecorate %_UniformBuffer 1 RelaxedPrecision
20OpDecorate %_UniformBuffer Block
21OpDecorate %10 Binding 0
22OpDecorate %10 DescriptorSet 0
23OpDecorate %22 RelaxedPrecision
24OpDecorate %24 RelaxedPrecision
25OpDecorate %29 RelaxedPrecision
26OpDecorate %30 RelaxedPrecision
27OpDecorate %34 RelaxedPrecision
28OpDecorate %35 RelaxedPrecision
29OpDecorate %41 RelaxedPrecision
30OpDecorate %42 RelaxedPrecision
31OpDecorate %46 RelaxedPrecision
32OpDecorate %47 RelaxedPrecision
33%float = OpTypeFloat 32
34%v4float = OpTypeVector %float 4
35%_ptr_Output_v4float = OpTypePointer Output %v4float
36%sk_FragColor = OpVariable %_ptr_Output_v4float Output
37%bool = OpTypeBool
38%_ptr_Input_bool = OpTypePointer Input %bool
39%sk_Clockwise = OpVariable %_ptr_Input_bool Input
40%v2float = OpTypeVector %float 2
41%_UniformBuffer = OpTypeStruct %v2float %v4float
42%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
43%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
44%void = OpTypeVoid
45%15 = OpTypeFunction %void
46%_ptr_Uniform_v2float = OpTypePointer Uniform %v2float
47%int = OpTypeInt 32 1
48%int_0 = OpConstant %int 0
49%uint = OpTypeInt 32 0
50%_ptr_Output_float = OpTypePointer Output %float
51%_ptr_Uniform_v4float = OpTypePointer Uniform %v4float
52%int_1 = OpConstant %int 1
53%main = OpFunction %void None %15
54%16 = OpLabel
55%18 = OpAccessChain %_ptr_Uniform_v2float %10 %int_0
56%22 = OpLoad %v2float %18
57%17 = OpExtInst %uint %1 PackHalf2x16 %22
58%24 = OpConvertUToF %float %17
59%25 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0
60OpStore %25 %24
61%28 = OpAccessChain %_ptr_Uniform_v2float %10 %int_0
62%29 = OpLoad %v2float %28
63%27 = OpExtInst %uint %1 PackUnorm2x16 %29
64%30 = OpConvertUToF %float %27
65%31 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0
66OpStore %31 %30
67%33 = OpAccessChain %_ptr_Uniform_v2float %10 %int_0
68%34 = OpLoad %v2float %33
69%32 = OpExtInst %uint %1 PackSnorm2x16 %34
70%35 = OpConvertUToF %float %32
71%36 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0
72OpStore %36 %35
73%38 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
74%41 = OpLoad %v4float %38
75%37 = OpExtInst %uint %1 PackUnorm4x8 %41
76%42 = OpConvertUToF %float %37
77%43 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0
78OpStore %43 %42
79%45 = OpAccessChain %_ptr_Uniform_v4float %10 %int_1
80%46 = OpLoad %v4float %45
81%44 = OpExtInst %uint %1 PackSnorm4x8 %46
82%47 = OpConvertUToF %float %44
83%48 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0
84OpStore %48 %47
85OpReturn
86OpFunctionEnd
87