[Bug 35998] RS600: Texture alignment issues under Gnome Shell

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 14 07:02:04 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=35998

--- Comment #9 from Milan Plzik <emempi at gmail.com> 2011-05-14 07:02:04 PDT ---
Created an attachment (id=46709)
 View: https://bugs.freedesktop.org/attachment.cgi?id=46709
 Review: https://bugs.freedesktop.org/review?bug=35998&attachment=46709

R300 texture alignment partial fix

As Marek stated, this issue is related to texture alignment. After playing with
mesa/src/gallium/drivers/r300/r300_texture_desc.c (see attached patch), I was
able to get things rendering properly -- font issue disappeared with setting
'height' alignment of 8bpp textures to '2' and misrendered artifacts on some
round edges with 32bpp textures and 'height' alignment to 2. Patch contains
only values I needed to fix -- I guess there is some relation between parts of
array I've been modifying. 

Unfortunately, this patch causes, that some (random) of GNOME 3's popup windows
are being rendered improperly -- their content looks like portions of other
textures (e.g. desktop background, icons, ...; random parts of vram), with no
apparent relation to expected content.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list