Commit Graph

9 Commits

Author SHA1 Message Date
Roland Scheidegger
68f93ea3eb gallium: add point_quad_rasterization bit to rasterizer state
This determines if points should be rasterized according to GL point rules
or as normal quads (GL point sprites / d3d points / d3d point sprites).
2010-02-04 21:35:28 +01:00
Roland Scheidegger
c2b85e335d docs: fix point sprite documentation 2010-02-03 17:39:47 +01:00
Roland Scheidegger
4a4daa75a8 gallium: clean up point sprite rasterizer state
Don't need sprite coord origin per coord.
Also, don't need separate sprite enable bit - if all coords have it diabled,
then there are no point sprites (technically, there's a distinction in pre-GL3,
but it only differs in having more leniency in clamping to max size, something
the state tracker would need to handle and the hardware won't bother anyway).
Also, use packed field for the per-coord enables.
All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
2010-02-03 17:25:14 +01:00
Roland Scheidegger
a407636efb gallium: remove point_size_min and point_size_max from rasterizer state
The state tracker is responsible for clamping to any graphics API enforced
size min/max limits for both the static point_size setting as well as per
vertex point size (in the vertex shader).
Note that mesa state tracker didn't actually use these values.
2010-01-12 15:54:13 +01:00
Brian Paul
439b34c9dd gallium/docs: finish up description of pipe_rasterizer_state fields 2010-01-06 09:42:53 -07:00
Corbin Simpson
9ddeab48c8 More docs. Glossary. 2009-12-21 18:01:24 -08:00
Corbin Simpson
a524aab8ae Moar docs, mostly context. 2009-12-20 19:41:50 -08:00
Corbin Simpson
fa33812d47 Document rasterizer. 2009-12-20 17:25:36 -08:00
Corbin Simpson
c686e17e52 Add Gallium docs.
In Sphinx/ReST format.
2009-12-20 15:00:40 -08:00