diff options
author | Michal Krol <[email protected]> | 2007-10-29 11:45:42 +0000 |
---|---|---|
committer | Michal Krol <[email protected]> | 2007-10-29 13:25:00 +0000 |
commit | bd922c6437fb2081082bb164bcb0304559f6d7c4 (patch) | |
tree | 62b3346382126e5d68985765d5b11011d97e8a30 /src/mesa/pipe | |
parent | e15ca7963e8b2e80eb79f6352f0761d0c1581fb5 (diff) |
Implement RET opcode.
Diffstat (limited to 'src/mesa/pipe')
-rwxr-xr-x | src/mesa/pipe/tgsi/exec/tgsi_sse2.c | 18 |
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; } |