st/vega: More flexible shader selection.
authorChia-I Wu <olv@lunarg.com>
Mon, 29 Nov 2010 11:15:03 +0000 (19:15 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 1 Dec 2010 03:23:52 +0000 (11:23 +0800)
commit213e288e78bf5b0fb0a996cc17dfd959756c2c53
treed24ba0185852f83d40d84364855747fe9ba31950
parent30cab4b6cbf741e1ae727bfaed10cc3772e4dff9
st/vega: More flexible shader selection.

Divide bits of VegaShaderType into 6 groups: paint, image, mask, fill,
premultiply, and bw.  Each group represents a stage.  At most one shader
from each group will be selected when constructing the final fragment
shader.
src/gallium/state_trackers/vega/asm_fill.h
src/gallium/state_trackers/vega/shaders_cache.c
src/gallium/state_trackers/vega/shaders_cache.h