diff options
author | David Miller <[email protected]> | 2009-02-27 02:38:40 -0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-27 07:54:02 -0700 |
commit | cf89f063634ff89cbd732bf67950debc94897ed9 (patch) | |
tree | 8103f9b801622a99c8fbaf39683ff03fd60c1378 /src/mesa/sparc/sparc.c | |
parent | bde27b0d94dc2b3d0d4656e2c85ecbbd1245b3ac (diff) |
mesa: Fix and re-enable sparc normal asm.
Fix a bug reported in 2003 :-)
The output vector has 4 entries, not 3.
Unconditionally emit .register directives.
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'src/mesa/sparc/sparc.c')
-rw-r--r-- | src/mesa/sparc/sparc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/sparc/sparc.c b/src/mesa/sparc/sparc.c index fafb49b81cd..d2286a2c837 100644 --- a/src/mesa/sparc/sparc.c +++ b/src/mesa/sparc/sparc.c @@ -113,8 +113,6 @@ void _mesa_init_all_sparc_transform_asm(void) _mesa_clip_tab[4] = _mesa_sparc_cliptest_points4; _mesa_clip_np_tab[4] = _mesa_sparc_cliptest_points4_np; -#if 0 - /* disable these too. See bug 673938 */ _mesa_normal_tab[NORM_TRANSFORM | NORM_NORMALIZE] = _mesa_sparc_transform_normalize_normals; _mesa_normal_tab[NORM_TRANSFORM_NO_ROT | NORM_NORMALIZE] = @@ -131,7 +129,6 @@ void _mesa_init_all_sparc_transform_asm(void) _mesa_sparc_normalize_normals; _mesa_normal_tab[NORM_RESCALE] = _mesa_sparc_rescale_normals; -#endif #ifdef DEBUG_MATH _math_test_all_transform_functions("sparc"); |