blob: 7457f575e3ca0ee3ee1ed52a0b02e25f45ef572e [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 24
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %X "X"
OpName %a "a"
OpName %b "b"
OpName %Y "Y"
OpName %f "f"
OpName %v "v"
OpName %unused_entry_point "unused_entry_point"
%void = OpTypeVoid
%float = OpTypeFloat 32
%v2float = OpTypeVector %float 2
%7 = OpTypeFunction %void %v2float %v2float
%10 = OpTypeFunction %v2float
%12 = OpConstantNull %v2float
%14 = OpTypeFunction %void
%_ptr_Function_v2float = OpTypePointer Function %v2float
%X = OpFunction %void None %7
%a = OpFunctionParameter %v2float
%b = OpFunctionParameter %v2float
%8 = OpLabel
OpReturn
OpFunctionEnd
%Y = OpFunction %v2float None %10
%11 = OpLabel
OpReturnValue %12
OpFunctionEnd
%f = OpFunction %void None %14
%15 = OpLabel
%v = OpVariable %_ptr_Function_v2float Function %12
%18 = OpLoad %v2float %v None
%19 = OpFunctionCall %void %X %12 %18
%20 = OpFunctionCall %v2float %Y
%21 = OpFunctionCall %void %X %12 %20
OpReturn
OpFunctionEnd
%unused_entry_point = OpFunction %void None %14
%23 = OpLabel
OpReturn
OpFunctionEnd