mirror of https://github.com/PCSX2/pcsx2.git
glsl: drop useless ifndef
I often mix them with the real value... .
This commit is contained in:
parent
8e1db43431
commit
9023f5f0db
|
@ -18,28 +18,6 @@
|
|||
// And I say this as an ATI user.
|
||||
#define ATI_SUCKS 0
|
||||
|
||||
#ifndef PS_FST
|
||||
#define PS_FST 0
|
||||
#define PS_WMS 0
|
||||
#define PS_WMT 0
|
||||
#define PS_FMT FMT_32
|
||||
#define PS_AEM 0
|
||||
#define PS_TFX 0
|
||||
#define PS_TCC 1
|
||||
#define PS_ATST 1
|
||||
#define PS_FOG 0
|
||||
#define PS_CLR1 0
|
||||
#define PS_FBA 0
|
||||
#define PS_AOUT 0
|
||||
#define PS_LTF 1
|
||||
#define PS_COLCLIP 0
|
||||
#define PS_DATE 0
|
||||
#define PS_SPRITEHACK 0
|
||||
#define PS_POINT_SAMPLER 0
|
||||
#define PS_TCOFFSETHACK 0
|
||||
#define PS_IIP 1
|
||||
#endif
|
||||
|
||||
#ifdef FRAGMENT_SHADER
|
||||
|
||||
in SHADER
|
||||
|
|
|
@ -1,12 +1,5 @@
|
|||
//#version 420 // Keep it for text editor detection
|
||||
|
||||
#ifndef VS_BPPZ
|
||||
#define VS_BPPZ 0
|
||||
#define VS_TME 1
|
||||
#define VS_FST 1
|
||||
#define VS_LOGZ 0
|
||||
#endif
|
||||
|
||||
#ifdef VERTEX_SHADER
|
||||
layout(location = 0) in vec2 i_st;
|
||||
layout(location = 2) in vec4 i_c;
|
||||
|
|
|
@ -443,13 +443,6 @@ static const char* shadeboost_glsl =
|
|||
static const char* tfx_vgs_glsl =
|
||||
"//#version 420 // Keep it for text editor detection\n"
|
||||
"\n"
|
||||
"#ifndef VS_BPPZ\n"
|
||||
"#define VS_BPPZ 0\n"
|
||||
"#define VS_TME 1\n"
|
||||
"#define VS_FST 1\n"
|
||||
"#define VS_LOGZ 0\n"
|
||||
"#endif\n"
|
||||
"\n"
|
||||
"#ifdef VERTEX_SHADER\n"
|
||||
"layout(location = 0) in vec2 i_st;\n"
|
||||
"layout(location = 2) in vec4 i_c;\n"
|
||||
|
@ -739,28 +732,6 @@ static const char* tfx_fs_all_glsl =
|
|||
"// And I say this as an ATI user.\n"
|
||||
"#define ATI_SUCKS 0\n"
|
||||
"\n"
|
||||
"#ifndef PS_FST\n"
|
||||
"#define PS_FST 0\n"
|
||||
"#define PS_WMS 0\n"
|
||||
"#define PS_WMT 0\n"
|
||||
"#define PS_FMT FMT_32\n"
|
||||
"#define PS_AEM 0\n"
|
||||
"#define PS_TFX 0\n"
|
||||
"#define PS_TCC 1\n"
|
||||
"#define PS_ATST 1\n"
|
||||
"#define PS_FOG 0\n"
|
||||
"#define PS_CLR1 0\n"
|
||||
"#define PS_FBA 0\n"
|
||||
"#define PS_AOUT 0\n"
|
||||
"#define PS_LTF 1\n"
|
||||
"#define PS_COLCLIP 0\n"
|
||||
"#define PS_DATE 0\n"
|
||||
"#define PS_SPRITEHACK 0\n"
|
||||
"#define PS_POINT_SAMPLER 0\n"
|
||||
"#define PS_TCOFFSETHACK 0\n"
|
||||
"#define PS_IIP 1\n"
|
||||
"#endif\n"
|
||||
"\n"
|
||||
"#ifdef FRAGMENT_SHADER\n"
|
||||
"\n"
|
||||
"in SHADER\n"
|
||||
|
|
Loading…
Reference in New Issue