dawn-cmake/test/tint/ptr_ref/load/param/function/vec4_f32.wgsl.expected.spvasm

33 lines
1.1 KiB
Plaintext
Raw Normal View History

; 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 %func "func"
OpName %pointer "pointer"
OpName %main "main"
OpName %F "F"
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%_ptr_Function_v4float = OpTypePointer Function %v4float
%1 = OpTypeFunction %v4float %_ptr_Function_v4float
%void = OpTypeVoid
%10 = OpTypeFunction %void
%15 = OpConstantNull %v4float
%func = OpFunction %v4float None %1
%pointer = OpFunctionParameter %_ptr_Function_v4float
%7 = OpLabel
%9 = OpLoad %v4float %pointer
OpReturnValue %9
OpFunctionEnd
%main = OpFunction %void None %10
%13 = OpLabel
%F = OpVariable %_ptr_Function_v4float Function %15
%16 = OpFunctionCall %v4float %func %F
OpReturn
OpFunctionEnd