From f9562ff85dd3ace60550110598687c3e728b0e6e Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 11 Dec 2007 08:18:47 -0700 Subject: add missing case statements for TGSI_TOKEN_TYPE_IMMEDIATE and assert(0) We're hitting this with quite a few Mesa demos. --- src/mesa/pipe/tgsi/exec/tgsi_sse2.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/mesa/pipe') 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 ); } -- cgit v1.2.3