blob: dfe49303c2c2ae080335baf9098b6064c0f52f09 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 18
; 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
%6 = OpTypeFunction %v4float %_ptr_Private_v4float
%void = OpTypeVoid
%12 = OpTypeFunction %void
%func = OpFunction %v4float None %6
%pointer = OpFunctionParameter %_ptr_Private_v4float
%9 = OpLabel
%11 = OpLoad %v4float %pointer
OpReturnValue %11
OpFunctionEnd
%main = OpFunction %void None %12
%15 = OpLabel
%16 = OpFunctionCall %v4float %func %P
OpReturn
OpFunctionEnd