Mesa (gallium-0.1): tgsi: Reenable OPCODE_ARR.

Michał Król michal at kemper.freedesktop.org
Wed Nov 26 21:37:28 UTC 2008


Module: Mesa
Branch: gallium-0.1
Commit: 158a5f75d8436facfe8163845a942979899213fe
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=158a5f75d8436facfe8163845a942979899213fe

Author: Michal Krol <michal at tungstengraphics.com>
Date:   Wed Nov 26 22:29:49 2008 +0100

tgsi: Reenable OPCODE_ARR.

---

 src/gallium/auxiliary/tgsi/tgsi_sse2.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
index 68f5510..ff869c8 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_sse2.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
@@ -1924,16 +1924,15 @@ emit_instruction(
       return 0;
       break;
 
-#if 0
    case TGSI_OPCODE_ARR:
       FOR_EACH_DST0_ENABLED_CHANNEL( *inst, chan_index ) {
          FETCH( func, *inst, 0, 0, chan_index );
-         emit_rnd( func, 0, 0 );
+         emit_rnd( func, 0 );
          emit_f2it( func, 0 );
          STORE( func, *inst, 0, 0, chan_index );
       }
       break;
-#endif
+
    case TGSI_OPCODE_BRA:
       return 0;
       break;




More information about the mesa-commit mailing list