From 857c7c7ca266df4be8d4c725e056f69d4ee96624 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Mon, 19 Apr 2010 15:08:14 +0200 Subject: docs: Document indexBias. --- src/gallium/docs/source/context.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium') 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. -- cgit v1.2.3