diff options
author | José Fonseca <[email protected]> | 2010-04-19 15:08:14 +0200 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-04-19 15:08:14 +0200 |
commit | 857c7c7ca266df4be8d4c725e056f69d4ee96624 (patch) | |
tree | aa194f425cea5e5bd4e4e81eeaccfd12c217e822 | |
parent | c184da9505e04fdbdda1bb1ff6990d5defaa25d4 (diff) |
docs: Document indexBias.
-rw-r--r-- | 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 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. |