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

Author: Guillaume Melquiond <[email protected]>
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:

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to