[Piglit] [PATCH 2/2] Include enum.spec along with enumext.spec for piglit-dispatch.
Chad Versace
chad.versace at linux.intel.com
Wed Jun 5 13:38:02 PDT 2013
On 05/28/2013 01:46 PM, Eric Anholt wrote:
> There are three differences between the two (as verified by sort, sed,
> uniq, and diff):
>
> - enum.spec includes GLES extension enums (since it's used for
> maintaining uniqueness of enums in the registry), which we want to
> include for cross-API compatibility.
> - enum.spec includes entries for known GL versions and GL extensions.
> - enumext.spec has a few more synonyms for enums (since it's the
> file used for generating the official glext.h for desktop).
>
> This change only introduces new #define lines to generated-dispatch.h.
> ---
> cmake/piglit_glapi.cmake | 1 +
> glapi/parse_glspec.py | 4 +++-
> tests/util/gen_dispatch.py | 33 ++-------------------------------
> 3 files changed, 6 insertions(+), 32 deletions(-)
>
I applied these patches to master, and the resultant generated_dispatch.h
lacked many #defines, as well as having new ones.
For example, this patch eliminates `#define GL_AMD_debug_output`.
More information about the Piglit
mailing list