Mesa (master): tgsi: Implement OPCODE_DIV.

Michał Król michal at kemper.freedesktop.org
Wed May 19 06:24:00 UTC 2010


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

Author: Michal Krol <michal at vmware.com>
Date:   Thu May 13 16:37:35 2010 +0200

tgsi: Implement OPCODE_DIV.

---

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

diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index 1218242..c15d970 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -3136,7 +3136,7 @@ exec_instruction(
       break;
 
    case TGSI_OPCODE_DIV:
-      assert( 0 );
+      exec_vector_binary(mach, inst, micro_div, TGSI_EXEC_DATA_FLOAT, TGSI_EXEC_DATA_FLOAT);
       break;
 
    case TGSI_OPCODE_DP2:




More information about the mesa-commit mailing list