piglit_get_gl_enum_name doesn't know a lot of old core OpenGL enums that it ought to know
While looking at a failure in ext_texture_env_combine-combine
, I got this output:
$ ./lib64/piglit/bin/ext_texture_env_combine-combine -auto -fbo
Probe color at (0,0)
Expected: 0.000000 0.000000 0.750000 0.250000
Observed: 0.007843 0.007843 0.760784 0.254902
Single Texture Test modulate_signed_add_params 133376
(unrecognized enum: 0x8571) GL_MODULATE_SIGNED_ADD_ATI
(unrecognized enum: 0x8572) GL_MODULATE_SIGNED_ADD_ATI
(unrecognized enum: 0x8580) GL_TEXTURE
(unrecognized enum: 0x8581) GL_TEXTURE
(unrecognized enum: 0x8582) GL_TEXTURE
(unrecognized enum: 0x8588) GL_TEXTURE
(unrecognized enum: 0x8589) GL_TEXTURE
(unrecognized enum: 0x858A) GL_TEXTURE
(unrecognized enum: 0x8590) GL_ONE_MINUS_SRC_COLOR
(unrecognized enum: 0x8591) GL_SRC_ALPHA
(unrecognized enum: 0x8592) GL_SRC_COLOR
(unrecognized enum: 0x8598) GL_SRC_ALPHA
(unrecognized enum: 0x8599) GL_SRC_ALPHA
(unrecognized enum: 0x859A) GL_SRC_ALPHA
(unrecognized enum: 0x8573) (unrecognized enum: 0x4)
GL_ALPHA_SCALE GL_TRUE
0x8571 is GL_COMBINE_RGB
. That's in gl.xml
, and it has existed as an enum for about 25 years. It seem like piglit_get_gl_enum_name
ought to know about it! Same for all the other unrecognized enums.
Edited by Ian Romanick