[Mesa-dev] [PATCH 2/2] mesa: Generate GL_INVALID_OPERATION for unsupported DSA TexStorage functions

Brian Paul brianp at vmware.com
Mon Jan 20 13:14:25 PST 2014


On 01/20/2014 12:07 PM, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> We have to make the functions available to work around a GLEW bug (see
> comments already in the code), but if an application calls one of these
> functions we should still generate GL_INVALID_OPERATION.
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
> I also thought about just having these functions call _mesa_generic_nop
> instead.  That would make the code smaller, but it would mean that we
> lose the specific error messages.
>

For both:
Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list