projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c184da9
)
docs: Document indexBias.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 19 Apr 2010 13:08:14 +0000
(15:08 +0200)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 19 Apr 2010 13:08:14 +0000
(15:08 +0200)
src/gallium/docs/source/context.rst
patch
|
blob
|
history
diff --git
a/src/gallium/docs/source/context.rst
b/src/gallium/docs/source/context.rst
index 7439d100973df166330d75be9542f7d66ff5bf6b..69e0fccc03c4e0357f9757e48ebdd7fdb7eee0fc 100644
(file)
--- 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.