mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 20:15:32 +00:00
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"(
|
ss << R"(
|
||||||
{
|
{
|
||||||
uint2 fcoord = uint2(v_pos.xy);
|
uint2 fcoord = uint2(v_pos.xy);
|
||||||
if ((fcoord.y & 1) != u_render_field)
|
if ((fcoord.y & 1u) != u_render_field)
|
||||||
discard;
|
discard;
|
||||||
|
|
||||||
uint2 tcoord = u_src_offset + uint2(fcoord.x, (fcoord.y / 2u));
|
uint2 tcoord = u_src_offset + uint2(fcoord.x, (fcoord.y / 2u));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user