Module: Mesa Branch: gallium-index-bias Commit: 857c7c7ca266df4be8d4c725e056f69d4ee96624 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=857c7c7ca266df4be8d4c725e056f69d4ee96624
Author: José Fonseca <jfons...@vmware.com> Date: Mon Apr 19 15:08:14 2010 +0200 docs: Document indexBias. --- src/gallium/docs/source/context.rst | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst index 7439d10..69e0fcc 100644 --- a/src/gallium/docs/source/context.rst +++ b/src/gallium/docs/source/context.rst @@ -153,6 +153,9 @@ vertex attributes. If ``indexBuffer`` is NULL, the sequential numbers are used directly as indices to fetch vertex attributes. +``indexBias`` is a value which is added to every index read from the index +buffer before fetching vertex attributes. + If a given vertex element has ``instance_divisor`` set to 0, it is said it contains per-vertex data and effective vertex attribute address needs to be recalculated for every index. _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit