st/vega: Fix degenerate paints.
authorChia-I Wu <olv@lunarg.com>
Wed, 1 Dec 2010 03:54:58 +0000 (11:54 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 1 Dec 2010 08:46:01 +0000 (16:46 +0800)
commitd7aa03b4feb7c30408b2ed3070e0fe33e2fd05ba
treeb8038c3a6346729b8289775031566ecffc5c8829
parentc530fd3f8a5b5ac6918dece5d9083b2fac4ef78e
st/vega: Fix degenerate paints.

Fix the case that the two points of a linear gradient coincide, or the
case that the radius of a radial gradient is equal to or less than 0.
src/gallium/state_trackers/vega/asm_fill.h
src/gallium/state_trackers/vega/paint.c
src/gallium/state_trackers/vega/paint.h
src/gallium/state_trackers/vega/shader.c
src/gallium/state_trackers/vega/shaders_cache.c
src/gallium/state_trackers/vega/shaders_cache.h