From: Roland Scheidegger Date: Fri, 15 Jan 2010 17:25:14 +0000 (+0100) Subject: gallium: document set_constant_buffer X-Git-Tag: 062012170305~12852^2~1722 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf575b6c270600e6f166def818f69edcc9c64484;p=profile%2Fivi%2Fmesa.git gallium: document set_constant_buffer --- diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst index 4767cfb..d394f5b 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``