mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add reporting for color test function
This commit is contained in:
parent
86caa700d0
commit
50edfb75d0
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
|||
#include "Framebuffer.h"
|
||||
#include "../ge_constants.h"
|
||||
#include "../GPUState.h"
|
||||
#include "Core/Reporting.h"
|
||||
#include <cstdio>
|
||||
|
||||
#define WRITE p+=sprintf
|
||||
|
@ -347,6 +348,7 @@ void GenerateFragmentShader(char *buffer) {
|
|||
if (enableColorTest) {
|
||||
GEComparison colorTestFunc = gstate.getColorTestFunction();
|
||||
const char *colorTestFuncs[] = { "#", "#", " != ", " == " }; // never/always don't make sense
|
||||
WARN_LOG_REPORT_ONCE(colortest, G3D, "Color test function : %s", colorTestFuncs[colorTestFunc]);
|
||||
u32 colorTestMask = gstate.getColorTestMask();
|
||||
if (colorTestFuncs[colorTestFunc][0] != '#') {
|
||||
if (gstate_c.gpuVendor == GPU_VENDOR_POWERVR)
|
||||
|
|
Loading…
Add table
Reference in a new issue