From: Brian Paul Date: Tue, 18 Aug 2009 23:50:43 +0000 (-0600) Subject: tgsi/ppc: we don't implement saturation modes yet X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3097d7dbf8b6acd2e5f4fd2adf45c5fb85f73952;p=mesa.git tgsi/ppc: we don't implement saturation modes yet --- 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: