Summary: | tests/fbo/fbo-array.c:109: create_array_fbo: Assertion `glGetError() == 0' failed. | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | CC: | anuj.phogat, brianp, huax.lu |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2012-03-08 23:20:29 UTC
a9523af0e88017d683c19ff238bfc5eb7cb88fd0 is the first bad commit commit a9523af0e88017d683c19ff238bfc5eb7cb88fd0 Author: Anuj Phogat <anuj.phogat@gmail.com> Date: Fri Mar 2 12:00:51 2012 -0800 mesa: Fix valid texture target test in _mesa_GetTexLevelParameteriv() _mesa_max_texture_levels() is also used to test valid texture target in _mesa_GetTexLevelParameteriv(). GL_TEXTURE_CUBE_MAP is not allowed as texture target in glGetTexLevelParameter(). So, this should throw GL_INVALID_ENUM error. Few other functions which use _mesa_max_texture_levels() like getcompressedteximage_error_check() and getteximage_error_check() also don't accept GL_TEXTURE_CUBE_MAP. Above fix makes piglit fbo-cubemap test to fail. This is because of incorrect texture target passed to _mesa_max_texture_levels() in framebuffer_texture(). Fixing that as well Note: This is a candidate for the stable branches Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> This is fixed by commit: cc5b0ffae048824a6bdcaf43e0c8c2dd4a7ff14b to mesa-dev Patch: http://www.mail-archive.com/mesa-dev@lists.freedesktop.org/msg19538.html |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.