etnaviv: fix alpha blending cases
authorJonathan Marek <jonathan@marek.ca>
Wed, 3 Jul 2019 18:04:20 +0000 (14:04 -0400)
committerJonathan Marek <jonathan@marek.ca>
Thu, 18 Jul 2019 03:07:35 +0000 (23:07 -0400)
commit5f73726013fabaa2b1bda595a2b2192a4db25760
tree514876735bbeeec6b825f7010a6608f3d4cacfe2
parent6c3c05dc38a2e4243252b688282816be8824538b
etnaviv: fix alpha blending cases

We need to check rgb_func/alpha_func when determining if blend or separate
alpha is required.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_blend.c