Mesa (master): st/mesa: remove debug code

Brian Paul brianp at kemper.freedesktop.org
Mon Dec 7 08:05:45 PST 2009


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

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Dec  7 09:05:40 2009 -0700

st/mesa: remove debug code

---

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

diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index bf80274..1611d53 100644
--- a/src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c
@@ -408,7 +408,7 @@ static void emit_ddy( struct st_translate *t,
 {
    struct ureg_program *ureg = t->ureg;
    struct ureg_src src = translate_src( t, SrcReg );
-   if(1)   src = ureg_negate( src );
+   src = ureg_negate( src );
    ureg_DDY( ureg, dst, src );
 }
 



More information about the mesa-commit mailing list