glapi: add KHR_no_error support to dispatch table generation
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 27 Apr 2017 03:32:43 +0000 (13:32 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 4 May 2017 01:35:36 +0000 (11:35 +1000)
commit2f541f63ea1829040194f31c56aeb3617fd60c15
treee97260a39e82f7c5daad336c582057424e18da1f
parent33ad6226a056e727eb44aba3126ceed6e889dc7b
glapi: add KHR_no_error support to dispatch table generation

This will allows us to create no error versions of functions
noted by a _no_error suffix. We also need to set a no_error
attribute equal to "true" in the xml.

V3: stop the no_error attribute being overwritten when functions
    alias another.
V2: tidy up suggested by Nicolai.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mapi/glapi/gen/gl_XML.py
src/mapi/glapi/gen/gl_genexec.py