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

Author: Michal Krol <[email protected]>
Date:   Mon Nov 23 11:29:29 2009 +0100

tgsi: Remove code that actually had no effect.

---

 src/gallium/auxiliary/tgsi/tgsi_exec.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c 
b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index 0197db8..d52c94f 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -2275,11 +2275,7 @@ exec_instruction(
    case TGSI_OPCODE_EX2:
       FETCH(&r[0], 0, CHAN_X);
 
-#if FAST_MATH
       micro_exp2( &r[0], &r[0] );
-#else
-      micro_pow( &r[0], &mach->Temps[TEMP_2_I].xyzw[TEMP_2_C], &r[0] );
-#endif
 
       FOR_EACH_ENABLED_CHANNEL( *inst, chan_index ) {
          STORE( &r[0], 0, chan_index );

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

Reply via email to