etnaviv: enable full overwrite in a few more cases
authorLucas Stach <l.stach@pengutronix.de>
Wed, 14 Nov 2018 13:56:59 +0000 (14:56 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 7 Jan 2019 10:50:23 +0000 (11:50 +0100)
commitb56d903b5abe7bf0157f99d707a9114b03231632
treed2c46f37030089ccce064d0713e90fdd9f226353
parent6dade5d534a752ba769f2ea91153c6c5d2acb956
etnaviv: enable full overwrite in a few more cases

Take into account the render target format when checking if the color
mask affects all channels of the RT. This allows to enable full
overwrite in a few cases where a non-alpha format is used.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_blend.c