Khronos Public Bugzilla
Bug 787 - various enum.spec inconsistencies
Summary: various enum.spec inconsistencies
Alias: None
Product: OpenGL
Classification: Unclassified
Component: Registry (show other bugs)
Version: unspecified
Hardware: PC Linux
: P3 normal
Target Milestone: ---
Assignee: Jon Leech
QA Contact:
Depends on:
Reported: 2013-02-07 05:35 PST by Andy Wingo
Modified: 2013-06-13 03:57 PDT (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Andy Wingo 2013-02-07 05:35:17 PST
Thanks for fixing bug 786.

If you are interested, here are some other inconsistencies I found in enum.spec.

1. The PixelFormat and PixelInternalFormat enums use values from SGIX_icc_texture, but these values are commented out because the extension was incomplete.  Suggestion: remove the uses from PixelFormat and PixelInternalFormat.  See also

2. The EXT_vertex_attrib_64bit enum uses DOUBLE from VERSION_1_1, whereas it is defined in DataType.  Suggestion: change to use it from DataType.

3. The ARB_gpu_shader_5 enum uses MAX_VERTEX_STREAMS from ARB_texture_multisample, but it is actually defined in ARB_transform_feedback3.  Suggestion: change to use from ARB_transform_feedback3.

4. NV_fbo_color_attachments uses COLOR_ATTACHMENT0 from NV_draw_buffers, but it comes from VERSION_3_0.  Suggest to use COLOR_ATTACHMENT0_NV, which comes from NV_draw_buffers and has the same value.  Same for the following 1 through 15.  A tricky case, though.

That's all I found.


Comment 1 Jon Leech 2013-06-13 03:57:45 PDT
Khronos has moved to a new XML API Registry and headers generated
from that; see

We don't plan to maintain the old .spec files going forward. Some of
these issues have been fixed in the XML, and some can't be fixed
because it doesn't include the corresponding information (for example,
the XML format doesn't say that an enum is defined by a particular
extension - it defines the enum as a standalone thing and then
every extension which needs it will reference that enum).