etnaviv: set DITHER_MODE
authorJonathan Marek <jonathan@marek.ca>
Fri, 12 Jul 2019 23:26:32 +0000 (19:26 -0400)
committerJonathan Marek <jonathan@marek.ca>
Thu, 18 Jul 2019 03:07:50 +0000 (23:07 -0400)
commit08514a9721144f877d670091de6e6d946a5e73f8
treedc65a74f32dd8eee1fd5d2dba3a99d60890b5d61
parentaaf0c47c7667f22bc4de6f359b1c9d7ce40dbe03
etnaviv: set DITHER_MODE

This fixes a rendering glitch observed in SDL testscale test, where alpha
blending samples with value (1.0, 1.0, 1.0, 0.0) whitens the target instead
of having no effect.

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