Skip to content

Commit

Permalink
GPU: Fix GLSL ES compile error with weave deinterlacing
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 18, 2025
1 parent 43e7be9 commit a7ab53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/gpu_shadergen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit a7ab53f

Please # to comment.