blob: 334b6879db635814159b8a82ddc7ed77ad2f3dfc [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"
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Private_v4float = OpTypePointer Private %v4float
%5 = OpConstantNull %v4float
%P = OpVariable %_ptr_Private_v4float Private %5
%void = OpTypeVoid
%6 = OpTypeFunction %void %_ptr_Private_v4float
%12 = OpTypeFunction %void
%func = OpFunction %void None %6
%pointer = OpFunctionParameter %_ptr_Private_v4float
%10 = OpLabel
OpStore %pointer %5
OpReturn
OpFunctionEnd
%main = OpFunction %void None %12
%14 = OpLabel
%15 = OpFunctionCall %void %func %P
OpReturn
OpFunctionEnd