st/vega: Masks and surfaces should share orientation.
authorChia-I Wu <olv@lunarg.com>
Thu, 25 Nov 2010 04:20:15 +0000 (12:20 +0800)
committerChia-I Wu <olv@lunarg.com>
Thu, 25 Nov 2010 05:33:59 +0000 (13:33 +0800)
commit37ec090ac9025529325209b2b616a2d6ece4c367
tree0dadd5f93cd9064e65561c5560b4b081cce3a6bc
parent9ea4936a36f5011695a3996c63cfad6b480b3e49
st/vega: Masks and surfaces should share orientation.

The alpha mask is addressed with unnormalized coordinates in the
fragment shader.  It should have the same orientation as the surface
does.

This fixes "mask" OpenVG demo.
src/gallium/state_trackers/vega/mask.c