blob: 77318976d354b2b60e38f2af6577be803e505d28 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 16
; 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"
%void = OpTypeVoid
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Function_v4float = OpTypePointer Function %v4float
%7 = OpTypeFunction %void %_ptr_Function_v4float
%10 = OpConstantNull %v4float
%12 = OpTypeFunction %void
%func = OpFunction %void None %7
%pointer_root = OpFunctionParameter %_ptr_Function_v4float
%8 = OpLabel
%9 = OpAccessChain %_ptr_Function_v4float %pointer_root
OpStore %9 %10
OpReturn
OpFunctionEnd
%main = OpFunction %void None %12
%13 = OpLabel
%F = OpVariable %_ptr_Function_v4float Function %10
%15 = OpFunctionCall %void %func %F
OpReturn
OpFunctionEnd