Bug 31578

Summary: r600g: enforce minimum stride on render target texture images causes texture corruption on teapot demp.
Product: Mesa Reporter: Andy Furniss <adf.lists>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Andy Furniss 2010-11-12 04:01:38 UTC
Running rv670, d-r-t. Tiling on/off doesn't affect.

Mesa demo teapot and openarena has corrupt tectures since -

commit 7fb16423cc325efcdcf6e4954a5ac71d8f96dbf8
Author: Keith Whitwell <keithw@vmware.com>
Date:   Thu Nov 11 16:20:24 2010 +0000

    r600g: enforce minimum stride on render target texture images
    
    Fixes piglit/fbo_readpixels since staging upload changes.
Comment 1 Tilman Sauerbeck 2010-11-15 13:42:24 UTC
Please try this patch:

http://lists.freedesktop.org/archives/mesa-dev/2010-November/004034.html
Comment 2 Andy Furniss 2010-11-15 15:48:20 UTC
(In reply to comment #1)
> Please try this patch:
> 
> http://lists.freedesktop.org/archives/mesa-dev/2010-November/004034.html

That fixes it, thanks.
Comment 3 Tilman Sauerbeck 2010-11-18 00:06:55 UTC
Retry with the tip of the master branch (and throw away the patch I posted).

Commit a23f25eba1fb8919a29efb88ef9e351abcc65b2e should fix this.
Comment 4 Andy Furniss 2010-11-18 04:36:32 UTC
Confirmed, this is fixed now with master tip.

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.