diff --git a/plugins/GSdx/Renderers/Common/GSDevice.h b/plugins/GSdx/Renderers/Common/GSDevice.h index 489077e6c9..a62767debe 100644 --- a/plugins/GSdx/Renderers/Common/GSDevice.h +++ b/plugins/GSdx/Renderers/Common/GSDevice.h @@ -60,8 +60,8 @@ enum ChannelFetch ChannelFetch_GREEN = 2, ChannelFetch_BLUE = 3, ChannelFetch_ALPHA = 4, + ChannelFetch_RGB = 5, ChannelFetch_GXBY = 6, - ChannelFetch_RGB = 7, }; #pragma pack(push, 1) diff --git a/plugins/GSdx/res/glsl/tfx_fs.glsl b/plugins/GSdx/res/glsl/tfx_fs.glsl index 4a95df4f64..a847a8b022 100644 --- a/plugins/GSdx/res/glsl/tfx_fs.glsl +++ b/plugins/GSdx/res/glsl/tfx_fs.glsl @@ -592,10 +592,10 @@ vec4 ps_color() vec4 T = fetch_blue(); #elif PS_CHANNEL_FETCH == 4 vec4 T = fetch_alpha(); +#elif PS_CHANNEL_FETCH == 5 + vec4 T = fetch_rgb(); #elif PS_CHANNEL_FETCH == 6 vec4 T = fetch_gXbY(); -#elif PS_CHANNEL_FETCH == 7 - vec4 T = fetch_rgb(); #elif PS_DEPTH_FMT > 0 // Integral coordinate vec4 T = sample_depth(st_int);