Skip to contentSkip to conversation

New: Mipmap tiling problem

Bug 27338 [email protected] 1 participant 3 messages Mar 27, 2010

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=27338

Summary: Mipmap tiling problem
Product: Mesa
Version: git
Platform: All
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=34501)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34501)
Fix for the mipmap problem

Hi,

Since the tiling changes in the r300g driver I have observed problems with non square textures in some mipmap levels. I have not nailed the problem down to a specific level or a specific texture size, but the attached patch looks plausible to me and fixes some fallout I observed since these patches with my favourite OpenSceneGraph test model displayed in osgviewer.

Please review/apply.

Mathias

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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#1 lore raw

[Bug 27338] Mipmap tiling problem

http://bugs.freedesktop.org/show_bug.cgi?id=27338

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Marek Olšák <[email protected]> 2010-03-27 06:15:17 PST --- Somehow when the texture height is at least 4x smaller than a macro-tile, the hw switches back to macro-linear. I'd say this is an undocumented hw behavior rather than a bug in stride calculation or something like that.

So thanks for the patch, tested and pushed. Closing...

Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel
#2 lore raw

[Bug 27338] Mipmap tiling problem

In reply to [email protected]

http://bugs.freedesktop.org/show_bug.cgi?id=27338

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

Signature · 14 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel