blob: 867f836e930e8fd4c735f235c8580c7bb44db94a [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 "func"
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 = 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 %P
OpReturn
OpFunctionEnd