Bug 60044

Summary: [softpipe] piglit arb_framebuffer_srgb-blit renderbuffer linear downsample disabled regression
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: brianp
Version: gitKeywords: regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2013-01-30 00:18:25 UTC
mesa: 02b6da1e87ddf333a71b37234c356b3f3f7f58be (master)

$ ./bin/arb_framebuffer_srgb-blit renderbuffer linear downsample disabled -auto
Mesa warning: failed to remap glClampColorARB
Mesa warning: failed to remap glTexBufferARB
Mesa warning: failed to remap glFramebufferTextureARB
Mesa warning: failed to remap glVertexAttribDivisorARB
Mesa warning: failed to remap glProgramParameteriARB
Mesa: User error: GL_INVALID_VALUE in glRenderbufferStorageMultisample(samples)
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays(incomplete framebuffer)
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glBlitFramebufferEXT(incomplete draw/read buffers)
Probe at (3,0)
  Expected: 0.011765 0.011765 0.011765 0.011765
  Observed: 0.000000 0.000000 0.000000 0.000000
PIGLIT: {'result': 'fail' }

d60da27273d2cdb68bc32cae2ca66718dab15f27 is the first bad commit
commit d60da27273d2cdb68bc32cae2ca66718dab15f27
Author: Brian Paul <brianp@vmware.com>
Date:   Sat Jan 26 10:09:37 2013 -0700

    st/mesa: set ctx->Const.MaxSamples = 0, not 1

    The gallium docs for pipe_screen::is_format_supported() says that
    samples==0 or samples==1 both mean that multisampling is not supported.
    Return GL_MAX_SAMPLES==0 instead of 1 for consistency with other drivers.

    Note: This is a candidate for the 9.0 branch.

    Reviewed-by: Marek Olšák <maraeo@gmail.com>

:040000 040000 64c1ec30eb70405a7fa013b61155d970c577d0bc aae198f799e5b088e4953afea23096f9c2176024 M      src
bisect run success
Comment 1 Brian Paul 2013-02-01 15:02:47 UTC
Fixed with piglit commit fe99f92893ddeef566e5bf6b38a0436c07bd5b7e

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.