summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/tgsi
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-02-07 19:44:42 +0000
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:32 +1100
commit99c3c2d038074209686559c42d7314fcaaf3953a (patch)
tree564684cdf6107b319872972de66ba49f939edf77 /src/mesa/pipe/tgsi
parentf41a4ee11ab3cbed8a4fd34866ed5771b8169ab7 (diff)
tgsi: Fall back to interpreter instead of assert(0) on unimplemented SSE code.
Diffstat (limited to 'src/mesa/pipe/tgsi')
-rwxr-xr-xsrc/mesa/pipe/tgsi/exec/tgsi_sse2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c
index f2180082f1..40bacf8552 100755
--- a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c
+++ b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c
@@ -2254,8 +2254,7 @@ tgsi_emit_sse2(
case TGSI_TOKEN_TYPE_IMMEDIATE:
/* XXX implement this */
- assert(0);
- break;
+ return 0;
default:
assert( 0 );