blob: fc18a9ebda91157b2966f4b35b6a3e2de4cd58dc [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 21
; 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
%19 = OpVariable %_ptr_Function_v3float Function %15
OpStore %a %float_4
OpStore %b %12
%16 = OpLoad %float %a
%17 = OpLoad %v3float %b
%20 = OpCompositeConstruct %v3float %16 %16 %16
%18 = OpFDiv %v3float %20 %17
OpReturn
OpFunctionEnd