mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: Fix a few glsl errors I missed last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@5043 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
0116402620
commit
4c5d1e11a8
|
@ -111,7 +111,7 @@ void ps_main1()
|
|||
|
||||
highp uvec4 i = uvec4(c * vec4(0x001f, 0x03e0, 0x7c00, 0x8000));
|
||||
|
||||
SV_Target1 = (i.x & 0x001f) | (i.y & 0x03e0) | (i.z & 0x7c00) | (i.w & 0x8000);
|
||||
SV_Target1 = (i.x & uint(0x001f)) | (i.y & uint(0x03e0)) | (i.z & uint(0x7c00)) | (i.w & uint(0x8000));
|
||||
}
|
||||
|
||||
void ps_main7()
|
||||
|
@ -136,7 +136,7 @@ void ps_main6() // diagonal
|
|||
{
|
||||
uvec4 p = uvec4(PSin.p);
|
||||
|
||||
vec4 c = ps_crt((p.x + (p.y % 3)) % 3);
|
||||
vec4 c = ps_crt((p.x + (p.y % 3u)) % 3u);
|
||||
|
||||
SV_Target0 = c;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue