mesa: Drop bitfield "enums" from the enum-to-string table.
authorEric Anholt <eric@anholt.net>
Thu, 26 Nov 2015 01:00:00 +0000 (17:00 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 1 Dec 2015 18:24:36 +0000 (10:24 -0800)
commit710762b64a16d41bb3223ff78b719be27a51b303
treee69862cb00c2077b6be26a959893b748c62aba90
parentcbabf5f9dc4f69ef17e24566cb3fbc1c4ef0de4f
mesa: Drop bitfield "enums" from the enum-to-string table.

Asking the table for bitfield names doesn't make any sense.  For 0x10, do
you want GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV or
GL_COLOR_BUFFER_BIT4_QCOM or GL_POLYGON_STIPPLE_BIT or
GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV?  Giving a useful answer would
depend on a whole lot of context.

This also fixes a bad enum table entry, where we chose GL_HINT_BIT instead
of GL_ABGR_EXT for 0x8000, so we can now fix its entry in the enum_strings
test.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mapi/glapi/gen/gl_enums.py
src/mesa/main/tests/enum_strings.cpp