From: Brian Date: Tue, 11 Dec 2007 15:18:47 +0000 (-0700) Subject: add missing case statements for TGSI_TOKEN_TYPE_IMMEDIATE and assert(0) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9562ff85dd3ace60550110598687c3e728b0e6e;p=mesa.git add missing case statements for TGSI_TOKEN_TYPE_IMMEDIATE and assert(0) We're hitting this with quite a few Mesa demos. --- diff --git a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c index e403cfaaf36..8ee43f59b5d 100755 --- a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c +++ b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c @@ -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 ); }