2017-08-02 19:20:40 +00:00
|
|
|
// Copyright 2017 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <tuple>
|
|
|
|
#include "common/quaternion.h"
|
|
|
|
#include "common/vector_math.h"
|
|
|
|
#include "video_core/pica_state.h"
|
|
|
|
|
|
|
|
namespace Pica {
|
|
|
|
|
2019-02-27 03:38:34 +00:00
|
|
|
std::tuple<Common::Vec4<u8>, Common::Vec4<u8>> ComputeFragmentsColors(
|
2017-08-02 19:20:40 +00:00
|
|
|
const Pica::LightingRegs& lighting, const Pica::State::Lighting& lighting_state,
|
2019-02-27 03:38:34 +00:00
|
|
|
const Common::Quaternion<float>& normquat, const Common::Vec3<float>& view,
|
|
|
|
const Common::Vec4<u8> (&texture_color)[4]);
|
2017-08-02 19:20:40 +00:00
|
|
|
|
|
|
|
} // namespace Pica
|