[Mesa-dev] [PATCH] mesa: Ignore size and offset parameters for BindBufferRange when buffer is 0
kenneth at whitecape.org
Tue Dec 4 19:51:27 PST 2012
On 12/04/2012 07:17 PM, Matt Turner wrote:
> The ES 3 conformance suite unbinds buffers (by binding buffer 0) and
> passes zero for the size and offset, which the spec explicitly
> disallows. Otherwise, this seems like a reasonable thing to do.
> Khronos will be changing the spec to allow this (bug 9765). Fixes
> es3conform's transform_feedback_init_defaults test.
> src/mesa/main/bufferobj.c | 22 ++++++++++++----------
> 1 files changed, 12 insertions(+), 10 deletions(-)
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
More information about the mesa-dev