commit | bde27b0d94dc2b3d0d4656e2c85ecbbd1245b3ac | [log] [tgz] |
---|---|---|
author | David Miller <davem@davemloft.net> | Fri Feb 27 02:38:37 2009 -0800 |
committer | Brian Paul <brianp@vmware.com> | Fri Feb 27 07:53:37 2009 -0700 |
tree | cdf238bfb35763dfa0f28b909f8c30e013af8d0a | |
parent | e1d276f9351a6524f4a48d9606ae531cc04ccad4 [diff] |
mesa: Fix Sparc cliptest asm code and re-enable. Stop using register %g7 since that is used by the "system" (ie. the pthread implementation makes use of it). Also, the projection vector can be NULL and we shouldn't try to access it at all in _mesa_sparc_cliptest_points4_np(). ioquake3 would crash due to this bug. Finally, unconditionally emit the register directives and re-enable in _mesa_init_all_sparc_transform_asm(). Signed-off-by: David S. Miller <davem@davemloft.net>