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 %i "i" 8 %void = OpTypeVoid 9 %4 = OpTypeFunction %void 10 %int = OpTypeInt 32 1 11%_ptr_Function_int = OpTypePointer Function %int 12 %int_1 = OpConstant %int 1 13 %v3int = OpTypeVector %int 3 14 %main = OpFunction %void None %4 15 %5 = OpLabel 16 %i = OpVariable %_ptr_Function_int Function 17 %9 = OpLoad %int %i 18 %11 = OpISub %int %9 %int_1 19 OpStore %i %11 20 %13 = OpCompositeConstruct %v3int %9 %9 %9 21 OpReturn 22 OpFunctionEnd 23