st/xa: Render update. Better support for solid pictures
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 7 Nov 2018 10:14:04 +0000 (11:14 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 14 Nov 2018 12:07:00 +0000 (13:07 +0100)
commitd86ad38205e42670bfc127a8942dffa1d98b16ea
tree6a1e326a7176211d12bc516dda1f067737f28285
parent4bba280937aa62244bf242034a6cdfd01667d3c1
st/xa: Render update. Better support for solid pictures

Remove unused and obsolete code for gradients and component-alpha
Support solid source- and mask pictures using a variable number
of samplers in the composite pipeline rather than the fixed number
we used before.

Tested using rendercheck for XA.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/xa/xa_composite.c
src/gallium/state_trackers/xa/xa_context.c
src/gallium/state_trackers/xa/xa_priv.h
src/gallium/state_trackers/xa/xa_renderer.c
src/gallium/state_trackers/xa/xa_tgsi.c