mirror of https://github.com/PCSX2/pcsx2.git
GS-hw: Apply clamp/wrap when FBMask enabled
This commit is contained in:
parent
a44fe29b8d
commit
ad415945a6
bin/resources/shaders
|
@ -717,7 +717,7 @@ void ps_color_clamp_wrap(inout float3 C)
|
|||
{
|
||||
// When dithering the bottom 3 bits become meaningless and cause lines in the picture
|
||||
// so we need to limit the color depth on dithered items
|
||||
if (SW_BLEND || PS_DITHER)
|
||||
if (SW_BLEND || PS_DITHER || PS_FBMASK)
|
||||
{
|
||||
// Standard Clamp
|
||||
if (PS_COLCLIP == 0 && PS_HDR == 0)
|
||||
|
|
|
@ -633,7 +633,7 @@ void ps_color_clamp_wrap(inout vec3 C)
|
|||
{
|
||||
// When dithering the bottom 3 bits become meaningless and cause lines in the picture
|
||||
// so we need to limit the color depth on dithered items
|
||||
#if SW_BLEND || PS_DITHER
|
||||
#if SW_BLEND || PS_DITHER || PS_FBMASK
|
||||
|
||||
// Correct the Color value based on the output format
|
||||
#if PS_COLCLIP == 0 && PS_HDR == 0
|
||||
|
|
|
@ -966,7 +966,7 @@ void ps_color_clamp_wrap(inout vec3 C)
|
|||
{
|
||||
// When dithering the bottom 3 bits become meaningless and cause lines in the picture
|
||||
// so we need to limit the color depth on dithered items
|
||||
#if SW_BLEND || PS_DITHER
|
||||
#if SW_BLEND || PS_DITHER || PS_FBMASK
|
||||
|
||||
// Correct the Color value based on the output format
|
||||
#if PS_COLCLIP == 0 && PS_HDR == 0
|
||||
|
|
Loading…
Reference in New Issue