• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1OpCapability Shader
2%1 = OpExtInstImport "GLSL.std.450"
3OpMemoryModel Logical GLSL450
4OpEntryPoint Fragment %_entrypoint_v "_entrypoint" %sk_FragColor %sk_Clockwise
5OpExecutionMode %_entrypoint_v OriginUpperLeft
6OpName %sk_FragColor "sk_FragColor"
7OpName %sk_Clockwise "sk_Clockwise"
8OpName %_UniformBuffer "_UniformBuffer"
9OpMemberName %_UniformBuffer 0 "unknownInput"
10OpName %_entrypoint_v "_entrypoint_v"
11OpName %main "main"
12OpName %h4 "h4"
13OpDecorate %sk_FragColor RelaxedPrecision
14OpDecorate %sk_FragColor Location 0
15OpDecorate %sk_FragColor Index 0
16OpDecorate %sk_Clockwise BuiltIn FrontFacing
17OpMemberDecorate %_UniformBuffer 0 Offset 0
18OpMemberDecorate %_UniformBuffer 0 RelaxedPrecision
19OpDecorate %_UniformBuffer Block
20OpDecorate %10 Binding 0
21OpDecorate %10 DescriptorSet 0
22OpDecorate %h4 RelaxedPrecision
23OpDecorate %32 RelaxedPrecision
24OpDecorate %33 RelaxedPrecision
25OpDecorate %35 RelaxedPrecision
26OpDecorate %36 RelaxedPrecision
27OpDecorate %37 RelaxedPrecision
28OpDecorate %38 RelaxedPrecision
29OpDecorate %40 RelaxedPrecision
30OpDecorate %42 RelaxedPrecision
31OpDecorate %43 RelaxedPrecision
32OpDecorate %45 RelaxedPrecision
33OpDecorate %47 RelaxedPrecision
34OpDecorate %48 RelaxedPrecision
35OpDecorate %49 RelaxedPrecision
36%float = OpTypeFloat 32
37%v4float = OpTypeVector %float 4
38%_ptr_Output_v4float = OpTypePointer Output %v4float
39%sk_FragColor = OpVariable %_ptr_Output_v4float Output
40%bool = OpTypeBool
41%_ptr_Input_bool = OpTypePointer Input %bool
42%sk_Clockwise = OpVariable %_ptr_Input_bool Input
43%_UniformBuffer = OpTypeStruct %float
44%_ptr_Uniform__UniformBuffer = OpTypePointer Uniform %_UniformBuffer
45%10 = OpVariable %_ptr_Uniform__UniformBuffer Uniform
46%void = OpTypeVoid
47%15 = OpTypeFunction %void
48%v2float = OpTypeVector %float 2
49%float_0 = OpConstant %float 0
50%19 = OpConstantComposite %v2float %float_0 %float_0
51%_ptr_Function_v2float = OpTypePointer Function %v2float
52%23 = OpTypeFunction %v4float %_ptr_Function_v2float
53%_ptr_Function_v4float = OpTypePointer Function %v4float
54%_ptr_Uniform_float = OpTypePointer Uniform %float
55%int = OpTypeInt 32 1
56%int_0 = OpConstant %int 0
57%float_1 = OpConstant %float 1
58%_entrypoint_v = OpFunction %void None %15
59%16 = OpLabel
60%20 = OpVariable %_ptr_Function_v2float Function
61OpStore %20 %19
62%22 = OpFunctionCall %v4float %main %20
63OpStore %sk_FragColor %22
64OpReturn
65OpFunctionEnd
66%main = OpFunction %v4float None %23
67%24 = OpFunctionParameter %_ptr_Function_v2float
68%25 = OpLabel
69%h4 = OpVariable %_ptr_Function_v4float Function
70%28 = OpAccessChain %_ptr_Uniform_float %10 %int_0
71%32 = OpLoad %float %28
72%33 = OpCompositeConstruct %v4float %32 %32 %32 %32
73OpStore %h4 %33
74%34 = OpAccessChain %_ptr_Uniform_float %10 %int_0
75%35 = OpLoad %float %34
76%36 = OpCompositeConstruct %v2float %35 %35
77%37 = OpCompositeExtract %float %36 0
78%38 = OpCompositeExtract %float %36 1
79%40 = OpCompositeConstruct %v4float %37 %38 %float_0 %float_1
80OpStore %h4 %40
81%41 = OpAccessChain %_ptr_Uniform_float %10 %int_0
82%42 = OpLoad %float %41
83%43 = OpCompositeConstruct %v4float %float_0 %42 %float_1 %float_0
84OpStore %h4 %43
85%44 = OpAccessChain %_ptr_Uniform_float %10 %int_0
86%45 = OpLoad %float %44
87%46 = OpAccessChain %_ptr_Uniform_float %10 %int_0
88%47 = OpLoad %float %46
89%48 = OpCompositeConstruct %v4float %float_0 %45 %float_0 %47
90OpStore %h4 %48
91%49 = OpLoad %v4float %h4
92OpReturnValue %49
93OpFunctionEnd
94