GSdx-ogl: Move rgb channel 7 to empty slot 5.

This commit is contained in:
lightningterror 2018-11-25 04:06:04 +01:00
parent 193bda164b
commit c8f52b0ba3
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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);