From: José Fonseca Date: Tue, 20 Apr 2010 08:22:28 +0000 (+0200) Subject: gallium/docs: Make it clear that minIndex, maxIndex is exclusively a index buffer... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=493a1bb822f80f48cf284cb572acb5dd393a07e1;p=mesa.git 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. --- diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst index 69e0fccc03c..c82e681a254 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.