blob: c309afd90886e5dc9289d7007956607b08f48fa3 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 17
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %P "P"
OpName %func_F "func_F"
OpName %pointer "pointer"
OpName %main "main"
%int = OpTypeInt 32 1
%_ptr_Private_int = OpTypePointer Private %int
%4 = OpConstantNull %int
%P = OpVariable %_ptr_Private_int Private %4
%void = OpTypeVoid
%5 = OpTypeFunction %void %_ptr_Private_int
%int_42 = OpConstant %int 42
%12 = OpTypeFunction %void
%func_F = OpFunction %void None %5
%pointer = OpFunctionParameter %_ptr_Private_int
%9 = OpLabel
OpStore %pointer %int_42
OpReturn
OpFunctionEnd
%main = OpFunction %void None %12
%14 = OpLabel
%15 = OpFunctionCall %void %func_F %P
OpReturn
OpFunctionEnd