Skip to content

Commit

Permalink
glsl: drop useless ifndef
Browse files Browse the repository at this point in the history
I often mix them with the real value...
.
  • Loading branch information
gregory38 committed May 8, 2015
1 parent 8e1db43 commit 9023f5f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 58 deletions.
22 changes: 0 additions & 22 deletions plugins/GSdx/res/glsl/tfx_fs.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 0 additions & 7 deletions plugins/GSdx/res/glsl/tfx_vgs.glsl
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
29 changes: 0 additions & 29 deletions plugins/GSdx/res/glsl_source.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 9023f5f

Please sign in to comment.