aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-18 17:50:43 -0600
committerBrian Paul <[email protected]>2009-08-18 17:50:52 -0600
commit3097d7dbf8b6acd2e5f4fd2adf45c5fb85f73952 (patch)
treead809592751c2e8a62f2f96c612c45e83ce9b98f
parentfab17c1216e9ae03eaa035dd36dc773d442b345d (diff)
tgsi/ppc: we don't implement saturation modes yet
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ppc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ppc.c b/src/gallium/auxiliary/tgsi/tgsi_ppc.c
index 0c64ae57131..2f8b0c4df0f 100644
--- 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: