blob: bdcf6e2daf1068fb6cd2add0651669c977afc6cf [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "advanced_blend_utils.glsl"
vec3 Blend(vec3 dst, vec3 src) {
// https://www.w3.org/TR/compositing-1/#blendinghue
return SetLuminosity(SetSaturation(src, Saturation(dst)), Luminosity(dst));
}
#include "advanced_blend.glsl"