summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-04-19 15:08:14 +0200
committerJosé Fonseca <[email protected]>2010-04-19 15:08:14 +0200
commit857c7c7ca266df4be8d4c725e056f69d4ee96624 (patch)
treeaa194f425cea5e5bd4e4e81eeaccfd12c217e822
parentc184da9505e04fdbdda1bb1ff6990d5defaa25d4 (diff)
docs: Document indexBias.
-rw-r--r--src/gallium/docs/source/context.rst3
1 files changed, 3 insertions, 0 deletions
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.