GPU: Fix GLSL ES compile error with weave deinterlacing

This commit is contained in:
Stenzek 2025-01-18 19:14:13 +10:00
parent 43e7be902c
commit a7ab53f02c
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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));