blob: 8dd824257017cfe89e6227b2b9c6931f0c4423ec [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 14
; 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"
OpName %r "r"
%void = OpTypeVoid
%3 = OpTypeFunction %void
%float = OpTypeFloat 32
%v3float = OpTypeVector %float 3
%float_1 = OpConstant %float 1
%float_2 = OpConstant %float 2
%float_3 = OpConstant %float 3
%a = OpConstantComposite %v3float %float_1 %float_2 %float_3
%b = OpConstant %float 4
%f = OpFunction %void None %3
%4 = OpLabel
%12 = OpCompositeConstruct %v3float %b %b %b
%r = OpFSub %v3float %a %12
OpReturn
OpFunctionEnd