GSDX: (FXAA) Treat shader model 4.1 as 4.0 and future shader models as 5 rather than failing to compile.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5803 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
sudonim1@gmail.com 2014-01-09 18:32:26 +00:00
parent 515e268bf5
commit a1f50d4306
1 changed files with 4 additions and 4 deletions

View File

@ -138,10 +138,10 @@
------------------------------------------------------------------------------*/
#if (SHADER_MODEL >= 0x400)
#if (SHADER_MODEL == 0x500)
#if (SHADER_MODEL >= 0x500)
#define VS_VERSION vs_5_0
#define PS_VERSION ps_5_0
#elif (SHADER_MODEL == 0x400)
#elif (SHADER_MODEL >= 0x400)
#define VS_VERSION vs_4_0
#define PS_VERSION ps_4_0
#endif
@ -312,10 +312,10 @@ float4 PreGammaPass(float4 color, float2 uv0)
------------------------------------------------------------------------------*/
#if (UHQ_FXAA == 1)
#if (SHADER_MODEL == 0x500)
#if (SHADER_MODEL >= 0x500)
#define FXAA_HLSL_5 1
#define FXAA_GATHER4_ALPHA 1
#elif (SHADER_MODEL == 0x400)
#elif (SHADER_MODEL >= 0x400)
#define FXAA_HLSL_4 1
#define FXAA_GATHER4_ALPHA 0
#else