System Environment: -------------------------- Arch: x86_64 Platform: Sandybridge Libdrm: (master)libdrm-2.4.40-5-gbaf0a7daafc7636106e1b19267ed22e22b1a2283 Mesa: (master)2f358feda311570610729658cfc2897090c14327 Xserver:(master)xorg-server-1.13.99.901 Xf86_video_intel:(master)2.20.17-43-gb5b3cfb0ad1cc5e66c99035f526946bf41011e13 Cairo: (master)9194904fa838a115b4dc58e5bff7a235cc2a9a7a Libva: (staging)2e11d2273b2974a7d1959cbcaf8db5b8e9aedd9e Libva_intel_driver:(staging)e01e94d312a0b23764367e87958c23bf76e6a782 Kernel: (drm-intel-nightly) 071f0a705c081ed6b1d61b6fa8be969a5b15ddf8 Bug detailed description: ------------------------- It fails on Ironlake, Sandybridge, Ivybridge, Haswell with mesa master branch, Works well on 9.0 branch. Bisect shows:4b92379da213c85998643997deef945b6e7fb7a7 is the first bad commit. commit 4b92379da213c85998643997deef945b6e7fb7a7 Author: Ian Romanick <ian.d.romanick@intel.com> AuthorDate: Sat Dec 1 11:06:48 2012 -0800 Commit: Ian Romanick <ian.d.romanick@intel.com> CommitDate: Fri Jan 4 17:39:05 2013 -0800 mesa: Disallow deprecated SNORM formats for renderbuffers The OpenGL 3.2 core profile spec says: "The following base internal formats from table 3.11 are color-renderable: RED, RG, RGB, and RGBA. The sized internal formats from table 3.12 that have a color-renderable base internal format are also color-renderable. No other formats, including compressed internal formats, are color-renderable." The OpenGL 3.2 compatibility profile spec says (only ALPHA is added): "The following base internal formats from table 3.16 are color-renderable: ALPHA, RED, RG, RGB, and RGBA. The sized internal formats from table 3.17 that have a color-renderable base internal format are also color-renderable. No other formats, including compressed internal formats, are color-renderable." output: Using test set: GL_EXT_texture_snorm Testing GL_RED_SNORM: OK Testing GL_R8_SNORM: OK Testing GL_RG_SNORM: OK Testing GL_RG8_SNORM: OK Testing GL_RGB_SNORM: OK Testing GL_RGB8_SNORM: OK Testing GL_RGBA_SNORM: OK Testing GL_RGBA8_SNORM: OK Testing GL_ALPHA_SNORM: OK Testing GL_ALPHA8_SNORM: OK Testing GL_LUMINANCE_SNORM: FAIL (GL_RGBA instead of GL_LUMINANCE_SNORM) Testing GL_LUMINANCE8_SNORM: FAIL (GL_RGBA instead of GL_LUMINANCE8_SNORM) Testing GL_LUMINANCE_ALPHA_SNORM: FAIL (GL_RGBA instead of GL_LUMINANCE_ALPHA_SNORM) Testing GL_LUMINANCE8_ALPHA8_SNORM: FAIL (GL_RGBA instead of GL_LUMINANCE8_ALPHA8_SNORM) Testing GL_INTENSITY_SNORM: FAIL (GL_RGBA instead of GL_INTENSITY_SNORM) Testing GL_INTENSITY8_SNORM: FAIL (GL_RGBA instead of GL_INTENSITY8_SNORM) Testing GL_R16_SNORM: OK Testing GL_RG16_SNORM: OK Testing GL_RGB16_SNORM: OK Testing GL_RGBA16_SNORM: OK Testing GL_ALPHA16_SNORM: OK Testing GL_LUMINANCE16_SNORM: FAIL (GL_RGBA instead of GL_LUMINANCE16_SNORM) Testing GL_LUMINANCE16_ALPHA16_SNORM: FAIL (GL_RGBA instead of GL_LUMINANCE16_ALPHA16_SNORM) Testing GL_INTENSITY16_SNORM: FAIL (GL_RGBA instead of GL_INTENSITY16_SNORM) PIGLIT: {'result': 'fail' } Reproduce steps: ---------------- 1. start X 2. ./bin/get-renderbuffer-internalformat GL_EXT_texture_snorm -auto -fbo
Just a testcase bug, naturally. patch sent.
*** Bug 59094 has been marked as a duplicate of this bug. ***
commit 48940da0e035a986a8d490dab795a2bff15d4486 Author: Eric Anholt <eric@anholt.net> Date: Thu Jan 10 16:07:44 2013 -0800 get-renderbuffer-internalformat: Skip testing unsupported enums. With the change to ban deprecated-format SNORM renderbuffers in Mesa, these now throw GL_INVALID_ENUM. Catch it and skip those subtests. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59072
Verified.Fixed on latest mesa master branch.
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.