From: Brian Paul Date: Thu, 24 Sep 2009 15:51:05 +0000 (-0600) Subject: tgsi/sse: implement SEQ, SGT, SLE, SNE X-Git-Tag: mesa-7.8~2720^2~177 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35cd0bbfb171d200b8100e9f79a55c9981c946aa;p=platform%2Fupstream%2Fmesa.git tgsi/sse: implement SEQ, SGT, SLE, SNE --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c index 501fc05..fe76c8c 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_sse2.c +++ b/src/gallium/auxiliary/tgsi/tgsi_sse2.c @@ -2291,7 +2291,7 @@ emit_instruction( break; case TGSI_OPCODE_SEQ: - return 0; + emit_setcc( func, inst, cc_Equal ); break; case TGSI_OPCODE_SFL: @@ -2299,7 +2299,7 @@ emit_instruction( break; case TGSI_OPCODE_SGT: - return 0; + emit_setcc( func, inst, cc_NotLessThanEqual ); break; case TGSI_OPCODE_SIN: @@ -2311,11 +2311,11 @@ emit_instruction( break; case TGSI_OPCODE_SLE: - return 0; + emit_setcc( func, inst, cc_LessThanEqual ); break; case TGSI_OPCODE_SNE: - return 0; + emit_setcc( func, inst, cc_NotEqual ); break; case TGSI_OPCODE_STR: