diff options
author | Brian Paul <brianp@vmware.com> | 2009-08-18 17:50:43 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-08-18 17:50:52 -0600 |
commit | 3097d7dbf8b6acd2e5f4fd2adf45c5fb85f73952 (patch) | |
tree | ad809592751c2e8a62f2f96c612c45e83ce9b98f | |
parent | fab17c1216e9ae03eaa035dd36dc773d442b345d (diff) |
tgsi/ppc: we don't implement saturation modes yet
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ppc.c | 5 |
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 0c64ae5713..2f8b0c4df0 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: |