----- Original Message ----- > It looks like a number of failures are happening because WebGL is > assuming GL_ARB_ES2_compatibility support in the OpenGL driver when > the extension isn't actually present. Mesa generates an error and the > test fails.
Thanks a lot! That also seems to explain failures I'm having on various platforms, and couldn't figure out. We don't want to require GL_ARB_ES2_compatibility. So i'll try to see how I can emulate this functionality on desktop OpenGL. Benoit > > For example, WebGL is calling > glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS) and Mesa is generating > GL_INVALID_ENUM. The gl-get-calls test is marked as failing. > > If GL_ARB_ES2_compatibility is a hard requirement for WebGL, there > should be a check for it. Do you know what the story is here? > > I haven't dug into many of the failures, but a lot of GL errors are > being generated by Mesa because of invalid indexes when trying to > set/query GLSL uniforms, etc. That seems suspicious too. > > Eric Anholt has started adding support for GL_ARB_ES2_compatibility in > Mesa but it's not enabled for many drivers yet. I could work on > enabling it for the swrast and gallium drivers. > > -Brian _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev