mesa: df97126731a745c1797c783414a44652be039d84 (master 11.0.0-devel) $ ./bin/gl-3.2-layered-rendering-framebuffertexture -auto Mesa: User error: GL_INVALID_VALUE in glTexImage2DMultisample(samples < 1) Unexpected GL error: GL_INVALID_VALUE 0x501 (Error at piglit/tests/spec/gl-3.2/layered-rendering/framebuffertexture.c:216) Texture Type: GL_TEXTURE_2D_MULTISAMPLE. Error during setup. Texture Type: GL_TEXTURE_2D_MULTISAMPLE. FramebufferTexture() Test Failed. Mesa: User error: GL_INVALID_VALUE in glTexImage3DMultisample(samples < 1) Unexpected GL error: GL_INVALID_VALUE 0x501 (Error at /piglit/tests/spec/gl-3.2/layered-rendering/framebuffertexture.c:216) Texture Type: GL_TEXTURE_2D_MULTISAMPLE_ARRAY. Error during setup. Texture Type: GL_TEXTURE_2D_MULTISAMPLE_ARRAY. FramebufferTexture() Test Failed. PIGLIT: {"result": "fail" } d3ace603a97bdd031bdff7517728eff4d0fd6458 is the first bad commit commit d3ace603a97bdd031bdff7517728eff4d0fd6458 Author: Timothy Arceri <t_arceri@yahoo.com.au> Date: Mon Aug 17 21:33:49 2015 +1000 mesa: check samples > 0 for glTex*Multisample The GL 4.5 spec says its an GL_INVALID_VALUE error if samples equals 0 for glTexImage*Multisample and an GL_INVALID_VALUE error if samples < 1 for glTexStorage*Multisample. The spec says its undefined what happens if glTexImage*Multisample is passed a samples value < 0 but we currently already produced a GL_INVALID_VALUE error in this case, this is also consistent with the Nvidia binary. Cc: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> :040000 040000 07ad29d4e0e6516e0209b2aff640fd2bf3eb2c6c 222dc2c649c9c6cef68068fe8d1839261eb3a013 M src bisect run success
*** This bug has been marked as a duplicate of bug 91670 ***
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.