blob: ced6948709405e4fcf259e2d0b304724353deb17 [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 %func_F "func_F"
OpName %pointer "pointer"
OpName %main "main"
OpName %F "F"
%void = OpTypeVoid
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Function_v4float = OpTypePointer Function %v4float
%1 = OpTypeFunction %void %_ptr_Function_v4float
%10 = OpConstantNull %v4float
%11 = OpTypeFunction %void
%func_F = OpFunction %void None %1
%pointer = OpFunctionParameter %_ptr_Function_v4float
%8 = OpLabel
OpStore %pointer %10
OpReturn
OpFunctionEnd
%main = OpFunction %void None %11
%13 = OpLabel
%F = OpVariable %_ptr_Function_v4float Function %10
%15 = OpFunctionCall %void %func_F %F
OpReturn
OpFunctionEnd