st/xa: Fixups for PIPE_FORMAT_R8_UNORM A8 usage v2.
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 17 Sep 2015 10:22:53 +0000 (03:22 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 24 Sep 2015 11:47:48 +0000 (04:47 -0700)
commitc8cb5ed93c8e7343390f188bbf1a8459380a5739
treeffc92dc7e39d40419ccfe8f639744d7fd94b997c
parent1614c39a8fc205d7b1cb5b16737c233fbcc5b678
st/xa: Fixups for PIPE_FORMAT_R8_UNORM A8 usage v2.

Check for PIPE_FORMAT_R8_UNORM when setting up the copy shader.
Also re-enable the dest alpha blending with A8 destination that
actually turned out to be correct.

Verified using rendercheck that the composite operators
overreverse, in, out, atop, atopreverse and xor seem to work fine
with a8 destiation.

v2: Fix a copy-paste error.

Reported-by: Jose Fonseca <jfonseca@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/state_trackers/xa/xa_composite.c
src/gallium/state_trackers/xa/xa_renderer.c