mirror of https://github.com/PCSX2/pcsx2.git
Fix shader build
This commit is contained in:
parent
10e8c486d8
commit
c74e5246fe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue