blob: 72a4931d137a83122c8ee25472df3af387812d51 [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
%a = OpConstant %float 4
%v3float = OpTypeVector %float 3
%float_1 = OpConstant %float 1
%float_2 = OpConstant %float 2
%float_3 = OpConstant %float 3
%b = OpConstantComposite %v3float %float_1 %float_2 %float_3
%f = OpFunction %void None %3
%4 = OpLabel
%12 = OpCompositeConstruct %v3float %a %a %a
%r = OpFSub %v3float %12 %b
OpReturn
OpFunctionEnd