gallium: disable the codegen for TGSI_OPCODE_EXPBASE2 for now.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 12 Jun 2008 22:01:43 +0000 (16:01 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 12 Jun 2008 22:01:43 +0000 (16:01 -0600)
The x86 code seems to fail for exponents of 4 or larger.
See glean's vertProg1/EX2 test.

src/gallium/auxiliary/draw/draw_vs_aos.c

index 388dd3fbee07b6c11d9bca4a9e075f903c3a11b3..1f926b3e850b02e27b7577d24f9d2c9a136a472b 100644 (file)
@@ -1662,7 +1662,14 @@ emit_instruction( struct aos_compilation *cp,
       return emit_RND(cp, inst);
 
    case TGSI_OPCODE_EXPBASE2:
+#if 0
+      /* this seems to fail for "larger" exponents.
+       * See glean tvertProg1's EX2 test.
+       */
       return emit_EX2(cp, inst);
+#else
+      return FALSE;
+#endif
 
    case TGSI_OPCODE_LOGBASE2:
       return emit_LG2(cp, inst);