From: Eric Anholt Date: Wed, 7 Jan 2009 20:38:34 +0000 (-0800) Subject: i965: Note when we drop saturate mode on the floor in a VP. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=735bdcfad82d87f943c6fb40f4534e9125d3c595;p=mesa.git i965: Note when we drop saturate mode on the floor in a VP. --- diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c index 27301629684..2084480e898 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_emit.c +++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c @@ -1064,6 +1064,11 @@ void brw_vs_emit(struct brw_vs_compile *c ) else dst = get_dst(c, inst->DstReg); + if (inst->SaturateMode != SATURATE_OFF) { + _mesa_problem(NULL, "Unsupported saturate %d in vertex shader", + inst->SaturateMode); + } + switch (inst->Opcode) { case OPCODE_ABS: brw_MOV(p, dst, brw_abs(args[0]));