diff options
author | Eric Anholt <eric@anholt.net> | 2013-05-14 16:47:36 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-06-05 15:32:55 -0700 |
commit | 1c64319e429f1e59e3b1ef8501c1368c0fadbf61 (patch) | |
tree | eaf4017f35d899919ccdf7a658a41a643e245bd6 /cmake | |
parent | c9f744f277939adfc29f790d5b70231b0d94f636 (diff) |
Include enum.spec along with enumext.spec for piglit-dispatch.
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: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/piglit_glapi.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/piglit_glapi.cmake b/cmake/piglit_glapi.cmake index bdc0390e0..368c1ca3b 100644 --- a/cmake/piglit_glapi.cmake +++ b/cmake/piglit_glapi.cmake @@ -32,6 +32,7 @@ set(piglit_glapi_inputs ${piglit_glapi_src_dir}/parse_glspec.py ${piglit_glapi_src_dir}/gl.tm ${piglit_glapi_src_dir}/gl.spec + ${piglit_glapi_src_dir}/enum.spec ${piglit_glapi_src_dir}/enumext.spec ) |