From: José Fonseca Date: Mon, 19 Apr 2010 13:08:14 +0000 (+0200) Subject: docs: Document indexBias. X-Git-Tag: mesa-7.9-rc1~3646^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=857c7c7ca266df4be8d4c725e056f69d4ee96624;p=platform%2Fupstream%2Fmesa.git docs: Document indexBias. --- 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.