diff options
author | Dave Airlie <[email protected]> | 2012-01-06 12:23:00 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-01-11 08:20:11 +0000 |
commit | 1865f341d8f45b389061fc08d2da90b7aa8a6099 (patch) | |
tree | dbe427bbb19465398d3c62f4f0d9b58e30728c3e /src/gallium/auxiliary/draw/draw_vs.h | |
parent | f7e3e46f72fffe4b83cd3f922173ff28e9ab9c7c (diff) |
draw: clipdistance support (v2)
Add support for using the clipdistance instead of clip plane.
Passes all piglit clipdistance tests.
v2: fixup some comments from Brian in review.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs.h b/src/gallium/auxiliary/draw/draw_vs.h index a3b90faa24b..8a440911af7 100644 --- a/src/gallium/auxiliary/draw/draw_vs.h +++ b/src/gallium/auxiliary/draw/draw_vs.h @@ -112,7 +112,7 @@ struct draw_vertex_shader { unsigned position_output; unsigned edgeflag_output; unsigned clipvertex_output; - + unsigned clipdistance_output[2]; /* Extracted from shader: */ const float (*immediates)[4]; |