gallium: consolidate bypass_vs and bypass_clipping flags

The draw module provides a similar interface to the driver which
is retained as various bits of hardware may be able to take on
incremental parts of the vertex pipeline.  However, there's no
need to advertise all this complexity to the state tracker.

There are basically two modes now - normal and passthrough/screen-coords.
This commit is contained in:
Keith Whitwell
2009-03-13 16:04:52 +00:00
parent fa0f48504a
commit 683e7091a9
12 changed files with 43 additions and 75 deletions

View File

@@ -87,7 +87,7 @@ draw_pt_arrays(struct draw_context *draw,
opt |= PT_CLIPTEST;
}
if (!draw->rasterizer->bypass_vs) {
if (!draw->rasterizer->bypass_vs_clip_and_viewport) {
opt |= PT_SHADE;
}
}