vc4: use PIPE_MASK_RGBA name instead of its value 0xf

Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18599>
This commit is contained in:
Eric Engestrom 2022-10-21 10:51:14 +01:00 committed by Marge Bot
parent daaced111a
commit 8ed00732cd

View file

@ -49,7 +49,7 @@ static bool
blend_depends_on_dst_color(struct vc4_compile *c)
{
return (c->fs_key->blend.blend_enable ||
c->fs_key->blend.colormask != 0xf ||
c->fs_key->blend.colormask != PIPE_MASK_RGBA ||
c->fs_key->logicop_func != PIPE_LOGICOP_COPY);
}