Bug 91672 - [llvmpipe] [softpipe] piglit gl-3.2-layered-rendering-framebuffertexture regression
Summary: [llvmpipe] [softpipe] piglit gl-3.2-layered-rendering-framebuffertexture regr...
Status: RESOLVED DUPLICATE of bug 91670
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords: bisected, regression
Depends on:
Blocks:
 
Reported: 2015-08-18 04:03 UTC by Vinson Lee
Modified: 2015-08-18 04:38 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2015-08-18 04:03:56 UTC
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
Comment 1 Timothy Arceri 2015-08-18 04:38:51 UTC

*** 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.