[Mesa-dev] [Bug 28530] [r300g] Sins of a Solar Empire crash with libtxc_dxtn.so

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 21 10:45:02 PDT 2010


Roland Scheidegger <sroland at vmware.com> changed:

           What    |Removed                     |Added
          Component|Drivers/DRI/r300            |Mesa core
         AssignedTo|dri-devel at lists.freedesktop |mesa-dev at lists.freedesktop.
                   |.org                        |org

--- Comment #1 from Roland Scheidegger <sroland at vmware.com> 2010-06-21 10:45:02 PDT ---
Moving this to mesa core as it seems to be a bug in the mesa state tracker.
Does it work if you just remove these two assertions in
   assert(width % util_format_get_blockwidth(pformat) == 0);
   assert(height % util_format_get_blockheight(pformat) == 0);

These look bogus. The idea was that you can only replace whole blocks, however
this is not true if the texture level is smaller than a full block (4x4), or if
this is the last (horizontal or vertical) block of a npot texture. I think the
rest of the code handles these cases just fine but the asserts do not.

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 mesa-dev mailing list