projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e5d0ad
)
gallium: document set_constant_buffer
author
Roland Scheidegger
<sroland@vmware.com>
Fri, 15 Jan 2010 17:25:14 +0000
(18:25 +0100)
committer
Roland Scheidegger
<sroland@vmware.com>
Fri, 15 Jan 2010 17:25:14 +0000
(18:25 +0100)
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 4767cfb0d875f67ad00eeeb29fa174abd80e2e7b..d394f5b4f1b82643196501eae1695ba00bdefaa0 100644
(file)
--- 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``