mirror of https://github.com/PCSX2/pcsx2.git
gsdx ogl: nvidia compiler is not happy with implicit cast...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5322 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
3b2944fe45
commit
3af930c555
|
@ -428,13 +428,13 @@ vec4 sample_color(vec2 st, float q)
|
|||
|
||||
mat4 c;
|
||||
|
||||
if(PS_FMT & FMT_PAL)
|
||||
if((PS_FMT & FMT_PAL) != 0)
|
||||
c = sample_4p(sample_4a(uv));
|
||||
else
|
||||
c = sample_4c(uv);
|
||||
|
||||
// PERF: see the impact of the exansion before/after the interpolation
|
||||
for (uint i = 0; i < 4; i++) {
|
||||
for (int i = 0; i < 4; i++) {
|
||||
if((PS_FMT & ~FMT_PAL) == FMT_16)
|
||||
{
|
||||
// FIXME GLSL any only support bvec so try to mix it with notEqual
|
||||
|
|
Loading…
Reference in New Issue