From: José Fonseca Date: Mon, 19 Apr 2010 13:08:14 +0000 (+0200) Subject: docs: Document indexBias. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=857c7c7ca266df4be8d4c725e056f69d4ee96624;p=mesa.git docs: Document indexBias. --- diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst index 7439d100973..69e0fccc03c 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.