On Monday, April 25, 2016 5:54:28 PM PDT Jordan Justen wrote:
> Fixes the OpenGLES 3.1 CTS:
> * ESEXT-CTS.draw_elements_base_vertex_tests.invalid_mapped_bos
>
> Because this is triggering the error message after the normal API
> validation phase, we don't have the API function name available, and
> therefore we generate an error message that is a little confusing:
>
> Mesa: User error: GL_INVALID_OPERATION in Vertex buffers are mapped during
draw call!
>
[snip]
>
> @@ -421,6 +421,14 @@ vbo_bind_arrays(struct gl_context *ctx)
> exec->validating = GL_FALSE;
> }
> }
> +
> + if (!check_buffers_are_unmapped(ctx)) {
> + _mesa_error(ctx, GL_INVALID_OPERATION,
> + "Vertex buffers are mapped during draw call!");You could change this to: "draw call (vertex buffers are mapped)" so that it would read: Mesa: User error: GL_INVALID_OPERATION in draw call (vertex buffers are mapped) which is a little less confusing.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
