mesa/src/gallium/docs/source/cso
Roland Scheidegger 4b9bcf31f4 gallium: add bits for clipping points as tris (d3d-style)
OpenGL does whole-point clipping, that is a large point is either fully
clipped or fully unclipped (the latter means it may extend beyond the
viewport as long as the center is inside the viewport). d3d9 (d3d10 has
no large points) however requires points to be clipped after they are
expanded to a rectangle. (Note some IHVs are known to ignore GL rules at
least with some hw/drivers.)
Hence add a rasterizer bit indicating which way points should be clipped
(some drivers probably will always ignore this), and add the draw interaction
this requires. Drivers wanting to support this and using draw must support
large points on their own as draw doesn't implement vp clipping on the
expanded points (it potentially could but the complexity doesn't seem
warranted), and the driver needs to do viewport scissoring on such points.

Conflicts:

	src/gallium/drivers/llvmpipe/lp_context.c
	src/gallium/drivers/llvmpipe/lp_state_derived.c

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-01-17 17:01:01 +01:00
..
blend.rst gallium: document dual source blending restrictions on gallium 2012-04-13 17:19:03 +01:00
dsa.rst docs: fix up documentation for stencil ref value changes 2010-02-09 21:48:43 +01:00
rasterizer.rst gallium: add bits for clipping points as tris (d3d-style) 2014-01-17 17:01:01 +01:00
sampler.rst st/mesa: optionally apply texture swizzle to border color v2 2013-04-18 20:35:40 +02:00
shader.rst Moar docs, mostly context. 2009-12-20 19:41:50 -08:00
velems.rst gallium/docs: Vertex data formats. 2010-06-24 07:57:30 -07:00