Mesa (master): tnl: Fix typo that resulted in fallback from SSE for EMIT_3UB_3F_RGB/BGR.

Eric Anholt anholt at kemper.freedesktop.org
Tue Dec 9 21:31:39 UTC 2008


Module: Mesa
Branch: master
Commit: 6e29a3c8e2dc920b6216a0df6357abd8234f1ec4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e29a3c8e2dc920b6216a0df6357abd8234f1ec4

Author: Guillaume Melquiond <guillaume.melquiond at gmail.com>
Date:   Tue Dec  9 11:42:24 2008 -0800

tnl: Fix typo that resulted in fallback from SSE for EMIT_3UB_3F_RGB/BGR.

Bug #16520

---

 src/mesa/tnl/t_vertex_sse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/tnl/t_vertex_sse.c b/src/mesa/tnl/t_vertex_sse.c
index 76043bd..d8021a3 100644
--- a/src/mesa/tnl/t_vertex_sse.c
+++ b/src/mesa/tnl/t_vertex_sse.c
@@ -539,8 +539,8 @@ static GLboolean build_vertex_emit( struct x86_program *p )
 	 }
 	 else {
 	    _mesa_printf("Can't emit 3ub\n");
+	    return GL_FALSE;	/* add this later */
 	 }
-	 return GL_FALSE;	/* add this later */
 	 break;
 
       case EMIT_4UB_4F_RGBA:




More information about the mesa-commit mailing list