projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09a23ac
)
tgsi/sse: implement SEQ, SGT, SLE, SNE
author
Brian Paul
<brianp@vmware.com>
Thu, 24 Sep 2009 15:51:05 +0000
(09:51 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 24 Sep 2009 16:45:35 +0000
(10:45 -0600)
src/gallium/auxiliary/tgsi/tgsi_sse2.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_sse2.c
b/src/gallium/auxiliary/tgsi/tgsi_sse2.c
index 501fc05e729b2e268f04cd390387944e9e58bd64..fe76c8c8405a0cb9b2013837096f72817d686e5e 100644
(file)
--- 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: