blob: 5cbdd414c4d692918229220a7e93275550ee82ee [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 17
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %func "func"
OpName %pointer_root "pointer_root"
OpName %main "main"
OpName %F "F"
OpName %r "r"
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Function_v4float = OpTypePointer Function %v4float
%6 = OpTypeFunction %v4float %_ptr_Function_v4float
%void = OpTypeVoid
%12 = OpTypeFunction %void
%15 = OpConstantNull %v4float
%func = OpFunction %v4float None %6
%pointer_root = OpFunctionParameter %_ptr_Function_v4float
%7 = OpLabel
%8 = OpAccessChain %_ptr_Function_v4float %pointer_root
%9 = OpLoad %v4float %8 None
OpReturnValue %9
OpFunctionEnd
%main = OpFunction %void None %12
%13 = OpLabel
%F = OpVariable %_ptr_Function_v4float Function %15
%r = OpFunctionCall %v4float %func %F
OpReturn
OpFunctionEnd