mirror of https://github.com/PCSX2/pcsx2.git
parent
2af7dcbda2
commit
e2727f10ba
|
@ -705,7 +705,7 @@ void ps_main()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if PS_DATE == 3 && !defined(DISABLE_GL42_image)
|
#if PS_DATE == 3 && !defined(DISABLE_GL42_image)
|
||||||
int stencil_ceil = imageLoad(img_prim_min, ivec2(gl_FragCoord.xy));
|
int stencil_ceil = imageLoad(img_prim_min, ivec2(gl_FragCoord.xy)).r;
|
||||||
// Note gl_PrimitiveID == stencil_ceil will be the primitive that will update
|
// Note gl_PrimitiveID == stencil_ceil will be the primitive that will update
|
||||||
// the bad alpha value so we must keep it.
|
// the bad alpha value so we must keep it.
|
||||||
|
|
||||||
|
|
|
@ -1561,7 +1561,7 @@ static const char* tfx_fs_all_glsl =
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
"\n"
|
"\n"
|
||||||
"#if PS_DATE == 3 && !defined(DISABLE_GL42_image)\n"
|
"#if PS_DATE == 3 && !defined(DISABLE_GL42_image)\n"
|
||||||
" int stencil_ceil = imageLoad(img_prim_min, ivec2(gl_FragCoord.xy));\n"
|
" int stencil_ceil = imageLoad(img_prim_min, ivec2(gl_FragCoord.xy)).r;\n"
|
||||||
" // Note gl_PrimitiveID == stencil_ceil will be the primitive that will update\n"
|
" // Note gl_PrimitiveID == stencil_ceil will be the primitive that will update\n"
|
||||||
" // the bad alpha value so we must keep it.\n"
|
" // the bad alpha value so we must keep it.\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
Loading…
Reference in New Issue