st/xa: Fix format conversion copy alpha channel
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 14 Dec 2011 15:02:54 +0000 (16:02 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 15 Dec 2011 07:28:09 +0000 (08:28 +0100)
commitaa7d7656f50f5c49734e3b0fad0f20a89cd5eb5b
tree250d503f83275c1243819733408d80364983072d
parent11c9459ba0b0c0afa1ae0ea41b0edaf069fc421a
st/xa: Fix format conversion copy alpha channel

When doing format conversion copies between a format without an
alpha channel and a format with an alpha channel, make sure the
destination alpha is set to 1.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
src/gallium/state_trackers/xa/xa_context.c
src/gallium/state_trackers/xa/xa_priv.h
src/gallium/state_trackers/xa/xa_renderer.c