• Eric Anholt's avatar
    Include enum.spec along with enumext.spec for piglit-dispatch. · 1c64319e
    Eric Anholt authored
    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 some 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.
    v2: Make the statement about "only introduces new #define lines"
        actually true by continuing to emit based on the categories we
        collected during parsing, except with them defined to '1' instead
        of '', to match actual glext definitions and what gets
        autogenerated from enum.ext.
    Reviewed-by: default avatarChad Versace <chad.versace@linux.intel.com>
Last commit
Last update
Modules Loading commit data...
target_api Loading commit data...
piglit_dispatch.cmake Loading commit data...
piglit_glapi.cmake Loading commit data...
piglit_util.cmake Loading commit data...