chromium/third_party/angle/src/libANGLE/BlendStateExt_unittest.cpp

//
// Copyright 2020 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

// BlendStateExt_unittest.cpp: Unit tests of the BlendStateExt class.

#include <gtest/gtest.h>

#include "libANGLE/angletypes.h"

namespace angle
{

#if defined(ANGLE_IS_64_BIT_CPU)
constexpr bool is64Bit =;
#else
constexpr bool is64Bit = false;
#endif

// Test the initial state of BlendStateExt
TEST(BlendStateExt, Init)
{}

// Test blend enabled flags
TEST(BlendStateExt, BlendEnabled)
{}

void validateMaskPacking(const uint8_t packed,
                         const bool r,
                         const bool g,
                         const bool b,
                         const bool a)
{}

// Test color write mask packing
TEST(BlendStateExt, ColorMaskPacking)
{}

// Test color write mask manipulations
TEST(BlendStateExt, ColorMask)
{}

// Test blend equations manipulations
TEST(BlendStateExt, BlendEquations)
{}

// Test blend factors manipulations
TEST(BlendStateExt, BlendFactors)
{}

// Test clip rectangle
TEST(Rectangle, Clip)
{}

// Test combine rectangles
TEST(Rectangle, Combine)
{}

// Test extend rectangles
TEST(Rectangle, Extend)
{}

}  // namespace angle