summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_vs.c
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2013-06-06 09:04:11 -0400
committerZack Rusin <zackr@vmware.com>2013-06-10 22:04:28 -0400
commit3d08eada3450aa8801aed194afea99c816dd71f0 (patch)
tree58e2e1f5f9f7d23dc3ce99418022b9178f8b0a34 /src/gallium/auxiliary/draw/draw_vs.c
parent0a3779d95537343505200ad096acf135dcd81b80 (diff)
downloadexternal_mesa3d-3d08eada3450aa8801aed194afea99c816dd71f0.zip
external_mesa3d-3d08eada3450aa8801aed194afea99c816dd71f0.tar.gz
external_mesa3d-3d08eada3450aa8801aed194afea99c816dd71f0.tar.bz2
gallium: add a cull distance semantic
cull distance is analogous to clip distance. If a register is given this semantic, then the values in it are assumed to be a float32 distance to a plane. Primitives will be completely discarded if the plane distance for all of the vertices in the primitive are < 0. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs.c')
0 files changed, 0 insertions, 0 deletions