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 %a "a"
9OpName %main "main"
10OpDecorate %sk_FragColor RelaxedPrecision
11OpDecorate %sk_FragColor Location 0
12OpDecorate %sk_FragColor Index 0
13OpDecorate %sk_Clockwise BuiltIn FrontFacing
14OpDecorate %a RelaxedPrecision
15OpDecorate %16 RelaxedPrecision
16OpDecorate %17 RelaxedPrecision
17%float = OpTypeFloat 32
18%v4float = OpTypeVector %float 4
19%_ptr_Output_v4float = OpTypePointer Output %v4float
20%sk_FragColor = OpVariable %_ptr_Output_v4float Output
21%bool = OpTypeBool
22%_ptr_Input_bool = OpTypePointer Input %bool
23%sk_Clockwise = OpVariable %_ptr_Input_bool Input
24%mat4v4float = OpTypeMatrix %v4float 4
25%_ptr_Private_mat4v4float = OpTypePointer Private %mat4v4float
26%a = OpVariable %_ptr_Private_mat4v4float Private
27%void = OpTypeVoid
28%14 = OpTypeFunction %void
29%_ptr_Output_float = OpTypePointer Output %float
30%int = OpTypeInt 32 1
31%int_0 = OpConstant %int 0
32%main = OpFunction %void None %14
33%15 = OpLabel
34%17 = OpLoad %mat4v4float %a
35%16 = OpExtInst %float %1 Determinant %17
36%18 = OpAccessChain %_ptr_Output_float %sk_FragColor %int_0
37OpStore %18 %16
38OpReturn
39OpFunctionEnd
40