summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-01-11 11:03:44 +0000
committerKeith Whitwell <keithw@vmware.com>2010-01-11 11:03:44 +0000
commit609b043d442c99e48d5310244e648ea8a6cc2e8a (patch)
tree9ab608aa6b7060eb88d7671977b32b275ef54ae9
parent2148fa86bcecc8a50c24a75a85a9f5c86b481e2a (diff)
downloadmesa-gallium-fb-dimensions.tar.gz
gallium: doc tweaks for bypass_vs_clip_and_viewportgallium-fb-dimensions
-rw-r--r--src/gallium/docs/source/cso/rasterizer.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gallium/docs/source/cso/rasterizer.rst b/src/gallium/docs/source/cso/rasterizer.rst
index 4d8e1708e7c..2ca9b64188f 100644
--- a/src/gallium/docs/source/cso/rasterizer.rst
+++ b/src/gallium/docs/source/cso/rasterizer.rst
@@ -133,9 +133,13 @@ implementation-dependent, but will usually be Gourard for most hardware.
bypass_vs_clip_and_viewport
^^^^^^^^^^^^^^^^^^^^^^^^^^^
-When set, this implies that vertices are pre-transformed for the viewport, and
-will not be run through the vertex shader. Note that implementations may still
-clip away vertices that are not visible.
+When set, this implies that vertices are pre-transformed for the
+viewport, and will not be run through the vertex shader. Note that
+these vertices will fall outside the conventional unit-cube clip
+space. Implementations are expected to discard pixels which fall
+outside the viewport (XXX: how is the viewport defined in this case),
+and may if desired choose to subject these vertices to clipping after
+appropriate transformation to the clipping cube.
flatshade_first
^^^^^^^^^^^^^^^