diff options
author | Eric Anholt <[email protected]> | 2009-01-07 12:38:34 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-01-07 12:41:55 -0800 |
commit | 8112c9e2cc5b27a2b7fd1641c03d3660f992dabf (patch) | |
tree | 421611777387fe0ae4d0f6a49f06747b3df75ee0 /src/mesa/drivers/dri/i965 | |
parent | f53d9913ac8efa5cefa428eb21f91298aca78293 (diff) |
i965: Note when we drop saturate mode on the floor in a VP.
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-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])); |