GPU: Fix GLSL ES compile error with weave deinterlacing
This commit is contained in:
parent
43e7be902c
commit
a7ab53f02c
|
@ -106,7 +106,7 @@ std::string GPUShaderGen::GenerateDeinterlaceWeaveFragmentShader() const
|
|||
ss << R"(
|
||||
{
|
||||
uint2 fcoord = uint2(v_pos.xy);
|
||||
if ((fcoord.y & 1) != u_render_field)
|
||||
if ((fcoord.y & 1u) != u_render_field)
|
||||
discard;
|
||||
|
||||
uint2 tcoord = u_src_offset + uint2(fcoord.x, (fcoord.y / 2u));
|
||||
|
|
Loading…
Reference in New Issue