blob: 5d7ed10cb39999bc2712c77cb0bed85d8708a77e [file] [log] [blame]
; 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 %a "a"
OpName %a_0 "a"
OpName %a_1 "a"
OpName %b "b"
OpName %main "main"
%void = OpTypeVoid
%int = OpTypeInt 32 1
%5 = OpTypeFunction %void %int
%_ptr_Function_int = OpTypePointer Function %int
%12 = OpTypeFunction %void
%int_1 = OpConstant %int 1
%a = OpFunction %void None %5
%a_0 = OpFunctionParameter %int
%6 = OpLabel
%a_1 = OpVariable %_ptr_Function_int Function
%b = OpVariable %_ptr_Function_int Function
OpStore %a_1 %a_0
%9 = OpLoad %int %a_1 None
OpStore %b %9
OpReturn
OpFunctionEnd
%main = OpFunction %void None %12
%13 = OpLabel
%14 = OpFunctionCall %void %a %int_1
OpReturn
OpFunctionEnd