mirror of https://github.com/PCSX2/pcsx2.git
GSdx-ogl: Move rgb channel 7 to empty slot 5.
This commit is contained in:
parent
193bda164b
commit
c8f52b0ba3
|
@ -60,8 +60,8 @@ enum ChannelFetch
|
||||||
ChannelFetch_GREEN = 2,
|
ChannelFetch_GREEN = 2,
|
||||||
ChannelFetch_BLUE = 3,
|
ChannelFetch_BLUE = 3,
|
||||||
ChannelFetch_ALPHA = 4,
|
ChannelFetch_ALPHA = 4,
|
||||||
|
ChannelFetch_RGB = 5,
|
||||||
ChannelFetch_GXBY = 6,
|
ChannelFetch_GXBY = 6,
|
||||||
ChannelFetch_RGB = 7,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
|
|
|
@ -592,10 +592,10 @@ vec4 ps_color()
|
||||||
vec4 T = fetch_blue();
|
vec4 T = fetch_blue();
|
||||||
#elif PS_CHANNEL_FETCH == 4
|
#elif PS_CHANNEL_FETCH == 4
|
||||||
vec4 T = fetch_alpha();
|
vec4 T = fetch_alpha();
|
||||||
|
#elif PS_CHANNEL_FETCH == 5
|
||||||
|
vec4 T = fetch_rgb();
|
||||||
#elif PS_CHANNEL_FETCH == 6
|
#elif PS_CHANNEL_FETCH == 6
|
||||||
vec4 T = fetch_gXbY();
|
vec4 T = fetch_gXbY();
|
||||||
#elif PS_CHANNEL_FETCH == 7
|
|
||||||
vec4 T = fetch_rgb();
|
|
||||||
#elif PS_DEPTH_FMT > 0
|
#elif PS_DEPTH_FMT > 0
|
||||||
// Integral coordinate
|
// Integral coordinate
|
||||||
vec4 T = sample_depth(st_int);
|
vec4 T = sample_depth(st_int);
|
||||||
|
|
Loading…
Reference in New Issue