Fix shader build

This commit is contained in:
Filoppi 2025-04-20 01:09:05 +03:00
parent 10e8c486d8
commit c74e5246fe
1 changed files with 1 additions and 1 deletions

View File

@ -1127,7 +1127,7 @@ void ps_color_clamp_wrap(inout vec3 C)
#if SW_BLEND || (PS_DITHER > 0 && PS_DITHER < 3) || PS_FBMASK
#if PS_DST_FMT == FMT_16 && PS_BLEND_MIX == 0 && PS_ROUND_INV
C += (float)(0xFF - 0xF8); // Need to round up, not down since the shader will invert
C += 7.0f; // Need to round up, not down since the shader will invert (0xFF - 0xF8)
#endif
// Correct the Color value based on the output format