summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-12-11 08:18:47 -0700
committerBrian <[email protected]>2007-12-11 08:18:47 -0700
commitf9562ff85dd3ace60550110598687c3e728b0e6e (patch)
treeceb10304e1dc301feeac05d11a57595284f6b9a1
parenta0dacbf369b1b0496f7cd2df2f7b7ecb621a024c (diff)
add missing case statements for TGSI_TOKEN_TYPE_IMMEDIATE and assert(0)
We're hitting this with quite a few Mesa demos.
-rwxr-xr-xsrc/mesa/pipe/tgsi/exec/tgsi_sse2.c10
1 files changed, 10 insertions, 0 deletions
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 );
}