projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee0984e
)
tgsi/sse: we don't implement saturation modes yet
author
Brian Paul
<brianp@vmware.com>
Tue, 18 Aug 2009 23:49:57 +0000
(17:49 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 18 Aug 2009 23:50:00 +0000
(17:50 -0600)
Fixes piglit fp-generic tests/shaders/generic/lrp_sat.fp, bug 23316.
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 ba2bfdef0627a3b82ddfc5a5936c34d83dd2164d..571f98ae35e02636036ae19a30c5ea65de04faa2 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_sse2.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_sse2.c
@@
-1502,6
+1502,10
@@
emit_instruction(
if (indirect_temp_reference(inst))
return FALSE;
+ /* we don't handle saturation/clamping yet */
+ if (inst->Instruction.Saturate != TGSI_SAT_NONE)
+ return FALSE;
+
switch (inst->Instruction.Opcode) {
case TGSI_OPCODE_ARL:
FOR_EACH_DST0_ENABLED_CHANNEL( *inst, chan_index ) {