summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-01-07 12:38:34 -0800
committerAlan Hourihane <alanh@vmware.com>2009-01-09 11:16:37 +0000
commit735bdcfad82d87f943c6fb40f4534e9125d3c595 (patch)
tree2d916d3c7d669f3cfe2105adf2b39ed20c031952
parent8ea48b94f948f3468df718dab2b8258b5d71b6b4 (diff)
i965: Note when we drop saturate mode on the floor in a VP.
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs_emit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index 2730162968..2084480e89 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]));