summaryrefslogtreecommitdiff
path: root/src/gallium/docs/source/context.rst
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-01-15 18:25:14 +0100
committerRoland Scheidegger <sroland@vmware.com>2010-01-15 18:25:14 +0100
commitbf575b6c270600e6f166def818f69edcc9c64484 (patch)
tree4c4045e8d92aea07a763dbe45c8c77a303c889a8 /src/gallium/docs/source/context.rst
parent5e5d0ad08167c178fcda005862e3dbead3e8c482 (diff)
gallium: document set_constant_buffer
Diffstat (limited to 'src/gallium/docs/source/context.rst')
-rw-r--r--src/gallium/docs/source/context.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst
index 4767cfb0d8..d394f5b4f1 100644
--- a/src/gallium/docs/source/context.rst
+++ b/src/gallium/docs/source/context.rst
@@ -33,7 +33,11 @@ This state describes how resources in various flavours (textures,
buffers, surfaces) are bound to the driver.
-* ``set_constant_buffer``
+* ``set_constant_buffer`` sets a constant buffer to be used for a given shader
+ type. index is used to indicate which buffer to set (some apis may allow
+ multiple ones to be set, and binding a specific one later, though drivers
+ are mostly restricted to the first one right now).
+
* ``set_framebuffer_state``
* ``set_fragment_sampler_textures``
* ``set_vertex_sampler_textures``