blob: 543626805c02366b2fe38ec1cad3653dc0aa941a [file] [log] [blame] [edit]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 16
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %i "i"
OpName %main "main"
%int = OpTypeInt 32 1
%_ptr_Private_int = OpTypePointer Private %int
%int_0 = OpConstant %int 0
%i = OpVariable %_ptr_Private_int Private %int_0
%void = OpTypeVoid
%7 = OpTypeFunction %void
%uint = OpTypeInt 32 0
%int_1 = OpConstant %int 1
%main = OpFunction %void None %7
%8 = OpLabel
%9 = OpLoad %int %i None
%11 = OpBitcast %uint %9
%12 = OpBitcast %uint %int_1
%14 = OpIAdd %uint %11 %12
%15 = OpBitcast %int %14
OpStore %i %15 None
OpReturn
OpFunctionEnd