diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-04-20 10:22:28 +0200 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-04-20 10:22:28 +0200 |
commit | 493a1bb822f80f48cf284cb572acb5dd393a07e1 (patch) | |
tree | 658b2c09c8ea645de30269fbc112408cf5ee391c /src/gallium | |
parent | f1d3f42c47ee0d3c5f13f5b30e6b113d6b542f64 (diff) |
gallium/docs: Make it clear that minIndex, maxIndex is exclusively a index buffer characteristic.
Unlike the indexBias which is specific to a draw call.
This are the semantics of both D3D and GL ARB_draw_elements_base_vertex
extension.
Diffstat (limited to 'src/gallium')
-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 69e0fccc03..c82e681a25 100644 --- a/src/gallium/docs/source/context.rst +++ b/src/gallium/docs/source/context.rst @@ -156,6 +156,9 @@ 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. +``minIndex`` and ``maxIndex`` describe minimum and maximum index contained in +the index buffer. + 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. |