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

           Summary: Flightgear still asserts due to
                    RADEON_MAX_TEXTURE_LEVELS on radeon-rewrite as of today
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Hi,

I have this assertion somewhere in the mipmap tree generation code.
This still happens due to the kernel header that still defines
RADEON_MAX_TEXTURE_LEVELS to 12 on my system and on current linux git head.

Sorry, I have lost track of all those countless branches and git repositories
that might already contain a bumped define there. So this might be 'fixed'
already.

Anyway, the problem persists for the time people compile that stuff on distro
kernels until at least 2.6.30 I guess.

The problem where the assertion happens is due to a static sized array in
struct _radeon_mipmap_tree.
So the attached patch to the radeon-rewrite branch changes this array size to
be dynamic based on the maximum number texture levels in the gl context struct.
So, this should make the driver more robust and trigger less assertions.

If this sounds good for you, please apply the atached patch to radeon-rewrite.

Thanks and greetings!

Mathias


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

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to