diff options
author | Eric Anholt <[email protected]> | 2009-01-07 12:38:34 -0800 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2009-01-09 11:16:37 +0000 |
commit | 735bdcfad82d87f943c6fb40f4534e9125d3c595 (patch) | |
tree | 2d916d3c7d669f3cfe2105adf2b39ed20c031952 /src/mesa | |
parent | 8ea48b94f948f3468df718dab2b8258b5d71b6b4 (diff) |
i965: Note when we drop saturate mode on the floor in a VP.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_emit.c | 5 |
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 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])); |