[Mesa-dev] [PATCH] mesa: Ignore size and offset parameters for BindBufferRange when buffer is 0

Eric Anholt eric at anholt.net
Wed Dec 5 11:18:59 PST 2012

Matt Turner <mattst88 at gmail.com> writes:

> 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.

I think oglconform may have had some similar issues at one point.  The
spec is just really awfully done with respect to the error handling for
these two functions, so I'm in favor of this change to let people do
reasonable things.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121205/f6af8de0/attachment.pgp>

More information about the mesa-dev mailing list