projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab17c1
)
tgsi/ppc: we don't implement saturation modes yet
author
Brian Paul
<brianp@vmware.com>
Tue, 18 Aug 2009 23:50:43 +0000
(17:50 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 18 Aug 2009 23:50:52 +0000
(17:50 -0600)
src/gallium/auxiliary/tgsi/tgsi_ppc.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_ppc.c
b/src/gallium/auxiliary/tgsi/tgsi_ppc.c
index 0c64ae5713100db80969b05529326239710f1542..2f8b0c4df0f50dddd6ff2524d743bd412779d1cb 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_ppc.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_ppc.c
@@
-1107,6
+1107,11
@@
static int
emit_instruction(struct gen_context *gen,
struct tgsi_full_instruction *inst)
{
+
+ /* we don't handle saturation/clamping yet */
+ if (inst->Instruction.Saturate != TGSI_SAT_NONE)
+ return 0;
+
switch (inst->Instruction.Opcode) {
case TGSI_OPCODE_MOV:
case TGSI_OPCODE_SWZ: