blob: e44ff2dbafc9d467b311384e7108c5c842d5339f [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 23
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %f "f"
OpExecutionMode %f LocalSize 1 1 1
OpName %f "f"
OpName %a "a"
OpName %b "b"
%void = OpTypeVoid
%1 = OpTypeFunction %void
%float = OpTypeFloat 32
%float_4 = OpConstant %float 4
%_ptr_Function_float = OpTypePointer Function %float
%9 = OpConstantNull %float
%v3float = OpTypeVector %float 3
%float_2 = OpConstant %float 2
%12 = OpConstantComposite %v3float %9 %float_2 %9
%_ptr_Function_v3float = OpTypePointer Function %v3float
%15 = OpConstantNull %v3float
%f = OpFunction %void None %1
%4 = OpLabel
%a = OpVariable %_ptr_Function_float Function %9
%b = OpVariable %_ptr_Function_v3float Function %15
%21 = OpVariable %_ptr_Function_v3float Function %15
OpStore %a %float_4
OpStore %b %12
%16 = OpLoad %float %a
%17 = OpLoad %v3float %b
%18 = OpLoad %v3float %b
%19 = OpFAdd %v3float %17 %18
%22 = OpCompositeConstruct %v3float %16 %16 %16
%20 = OpFDiv %v3float %22 %19
OpReturn
OpFunctionEnd