tgsi/ppc: we don't implement saturation modes yet

This commit is contained in:
Brian Paul 2009-08-18 17:50:43 -06:00
parent fab17c1216
commit 3097d7dbf8
1 changed files with 5 additions and 0 deletions

View File

@ -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: