mesa: fix comments on UBO buffer binding functions
The old comments were for transform feedback.
This commit is contained in:
@@ -2021,8 +2021,11 @@ set_ubo_binding(struct gl_context *ctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specify a buffer object to receive vertex shader results. Plus,
|
* Bind a region of a buffer object to a uniform block binding point.
|
||||||
* specify the starting offset to place the results, and max size.
|
* \param index the uniform buffer binding point index
|
||||||
|
* \param bufObj the buffer object
|
||||||
|
* \param offset offset to the start of buffer object region
|
||||||
|
* \param size size of the buffer object region
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
bind_buffer_range_uniform_buffer(struct gl_context *ctx,
|
bind_buffer_range_uniform_buffer(struct gl_context *ctx,
|
||||||
@@ -2054,8 +2057,8 @@ bind_buffer_range_uniform_buffer(struct gl_context *ctx,
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specify a buffer object to receive vertex shader results.
|
* Bind a buffer object to a uniform block binding point.
|
||||||
* As above, but start at offset = 0.
|
* As above, but offset = 0.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
bind_buffer_base_uniform_buffer(struct gl_context *ctx,
|
bind_buffer_base_uniform_buffer(struct gl_context *ctx,
|
||||||
|
Reference in New Issue
Block a user