docs: Document indexBias.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 19 Apr 2010 13:08:14 +0000 (15:08 +0200)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 19 Apr 2010 13:08:14 +0000 (15:08 +0200)
src/gallium/docs/source/context.rst

index 7439d10..69e0fcc 100644 (file)
@@ -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.