summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe')
-rwxr-xr-xsrc/mesa/pipe/tgsi/exec/tgsi_sse2.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c
index 46905236e2e..b8edcf0a2e9 100755
--- a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c
+++ b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c
@@ -1539,7 +1539,11 @@ emit_instruction(
break;
case TGSI_OPCODE_RET:
- assert( 0 );
+#ifdef WIN32
+ x86_retw( func, 16 );
+#else
+ x86_ret( func );
+#endif
break;
case TGSI_OPCODE_SSG:
@@ -1818,12 +1822,6 @@ tgsi_emit_sse2(
tgsi_parse_free( &parse );
-#ifdef WIN32
- x86_retw( func, 16 );
-#else
- x86_ret( func );
-#endif
-
return 1;
}
@@ -1896,11 +1894,5 @@ tgsi_emit_sse2_fs(
tgsi_parse_free( &parse );
-#ifdef WIN32
- x86_retw( func, 16 );
-#else
- x86_ret( func );
-#endif
-
return 1;
}