diff options
author | Paul Berry <[email protected]> | 2011-09-02 12:36:09 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-09-23 15:32:39 -0700 |
commit | 62bad54727690bff5ed42a74272e7822fd36cdb6 (patch) | |
tree | bac40490f6fcfdc128d67572a81eda17a0afd485 /src/mesa/drivers/dri/intel/intel_fbo.h | |
parent | d9cb683f81b5daefda2f8599b4ba0365cc6f009a (diff) |
i965: Set up clip distance VUE slots appropriately for gl_ClipDistance.
When gl_ClipDistance is in use, the contents of the gl_ClipDistance
array just need to be copied directly into the clip distance VUE
slots, so we re-use the code that copies all other generic VUE slots
(this has been extracted to its own method). When gl_ClipDistance is
not in use, the vertex shader needs to calculate the clip distances
based on user-specified clipping planes.
This patch also removes the i965-specific enum values
BRW_VERT_RESULT_CLIP[01], since we now have generic Mesa enums that
serve the same purpose (VERT_RESULT_CLIP_DIST[01]).
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.h')
0 files changed, 0 insertions, 0 deletions