diff --git a/src/core/gpu_shadergen.cpp b/src/core/gpu_shadergen.cpp index 9e3db1d02..649bacb1f 100644 --- a/src/core/gpu_shadergen.cpp +++ b/src/core/gpu_shadergen.cpp @@ -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));