gallium: move the test for bypass_vs into the vs_XXX_run() functions
authorBrian <brian.paul@tungstengraphics.com>
Mon, 31 Mar 2008 20:14:30 +0000 (14:14 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 31 Mar 2008 20:14:30 +0000 (14:14 -0600)
commit594dab4769533afaeb30a588e1731a6753a93f0d
tree2c18a1956e21208eb739d56775e22c406e3b93e8
parent9cbd8400433fb27da03f300b36495baef464cc6b
gallium: move the test for bypass_vs into the vs_XXX_run() functions

Also:
1. Added an identity_viewport flag to skip viewport transformation when it
has no effect.  Might also add an explicit bypass_viewport flag someday.
2. Separate the code for computing clip codes and doing the viewport transform.
Predicate them separately.
Note: even if bypass_vs is set, we still look at the shader to determine the
number of inputs and outputs.
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_prim.c
src/gallium/auxiliary/draw/draw_private.h
src/gallium/auxiliary/draw/draw_vs_exec.c
src/gallium/auxiliary/draw/draw_vs_llvm.c
src/gallium/auxiliary/draw/draw_vs_sse.c