add missing case statements for TGSI_TOKEN_TYPE_IMMEDIATE and assert(0)
authorBrian <brian.paul@tungstengraphics.com>
Tue, 11 Dec 2007 15:18:47 +0000 (08:18 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 11 Dec 2007 15:18:47 +0000 (08:18 -0700)
We're hitting this with quite a few Mesa demos.

src/mesa/pipe/tgsi/exec/tgsi_sse2.c

index e403cfaaf3670af02e281f537ee60afd6331d390..8ee43f59b5d9ba83544bd622d39733b7342bad68 100755 (executable)
@@ -2245,6 +2245,11 @@ tgsi_emit_sse2(
             &parse.FullToken.FullInstruction );
          break;
 
+      case TGSI_TOKEN_TYPE_IMMEDIATE:
+         /* XXX implement this */
+         assert(0);
+         break;
+
       default:
          assert( 0 );
       }
@@ -2321,6 +2326,11 @@ tgsi_emit_sse2_fs(
             &parse.FullToken.FullInstruction );
          break;
 
+      case TGSI_TOKEN_TYPE_IMMEDIATE:
+         /* XXX implement this */
+         assert(0);
+         break;
+
       default:
          assert( 0 );
       }