blob: a213c44c9d9fff1bf5f4ac494aa2448687796edb [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 22
; 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_0 = OpConstant %float 0
%float_2 = OpConstant %float 2
%13 = OpConstantComposite %v3float %float_0 %float_2 %float_0
%_ptr_Function_v3float = OpTypePointer Function %v3float
%16 = OpConstantNull %v3float
%f = OpFunction %void None %1
%4 = OpLabel
%a = OpVariable %_ptr_Function_float Function %9
%b = OpVariable %_ptr_Function_v3float Function %16
%20 = OpVariable %_ptr_Function_v3float Function %16
OpStore %a %float_4
OpStore %b %13
%17 = OpLoad %float %a
%18 = OpLoad %v3float %b
%21 = OpCompositeConstruct %v3float %17 %17 %17
%19 = OpFDiv %v3float %21 %18
OpReturn
OpFunctionEnd