xref: /aosp_15_r20/external/skia/tests/sksl/spirv/Ossfuzz37627.asm.frag (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1               OpCapability Shader
2          %1 = OpExtInstImport "GLSL.std.450"
3               OpMemoryModel Logical GLSL450
4               OpEntryPoint Fragment %main "main"
5               OpExecutionMode %main OriginUpperLeft
6               OpName %main "main"
7               OpName %x "x"
8       %void = OpTypeVoid
9          %4 = OpTypeFunction %void
10       %uint = OpTypeInt 32 0
11%_ptr_Function_uint = OpTypePointer Function %uint
12     %uint_1 = OpConstant %uint 1
13       %main = OpFunction %void None %4
14          %5 = OpLabel
15          %x = OpVariable %_ptr_Function_uint Function
16         %10 = OpLoad %uint %x
17         %11 = OpIAdd %uint %10 %uint_1
18               OpStore %x %11
19         %12 = OpSNegate %uint %11
20               OpReturn
21               OpFunctionEnd
22