xref: /aosp_15_r20/external/skia/tests/sksl/shared/StaticSwitchWithBreakInsideBlock.asm.frag (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1               OpCapability Shader
2          %1 = OpExtInstImport "GLSL.std.450"
3               OpMemoryModel Logical GLSL450
4               OpEntryPoint Fragment %main "main" %sk_FragColor
5               OpExecutionMode %main OriginUpperLeft
6               OpName %sk_FragColor "sk_FragColor"
7               OpName %main "main"
8               OpName %x "x"
9               OpDecorate %sk_FragColor RelaxedPrecision
10               OpDecorate %sk_FragColor Location 0
11               OpDecorate %sk_FragColor Index 0
12      %float = OpTypeFloat 32
13    %v4float = OpTypeVector %float 4
14%_ptr_Output_v4float = OpTypePointer Output %v4float
15%sk_FragColor = OpVariable %_ptr_Output_v4float Output
16       %void = OpTypeVoid
17          %8 = OpTypeFunction %void
18%_ptr_Function_float = OpTypePointer Function %float
19    %float_0 = OpConstant %float 0
20         %13 = OpConstantComposite %v4float %float_0 %float_0 %float_0 %float_0
21       %main = OpFunction %void None %8
22          %9 = OpLabel
23          %x = OpVariable %_ptr_Function_float Function
24               OpStore %x %float_0
25               OpStore %x %float_0
26               OpStore %sk_FragColor %13
27               OpReturn
28               OpFunctionEnd
29