|
|
|
@ -2,10 +2,14 @@
|
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
|
|
#include <cstring>
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
|
|
#include "common/color.h"
|
|
|
|
|
|
|
|
|
|
#include "core/settings.h"
|
|
|
|
|
#include "core/hw/gpu.h"
|
|
|
|
|
#include "core/memory.h"
|
|
|
|
|
#include "core/settings.h"
|
|
|
|
|
|
|
|
|
|
#include "video_core/pica.h"
|
|
|
|
|
#include "video_core/utils.h"
|
|
|
|
@ -16,8 +20,6 @@
|
|
|
|
|
|
|
|
|
|
#include "generated/gl_3_2_core.h"
|
|
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
|
|
static bool IsPassThroughTevStage(const Pica::Regs::TevStageConfig& stage) {
|
|
|
|
|
return (stage.color_op == Pica::Regs::TevStageConfig::Operation::Replace &&
|
|
|
|
|
stage.alpha_op == Pica::Regs::TevStageConfig::Operation::Replace &&
|
|
|
|
|