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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Roland Scheidegger <sroland@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Drivers/DRI/r300            |Mesa core
         AssignedTo|dri-devel@xxxxxxxxxxxxxxxxx |mesa-dev@xxxxxxxxxxxxxxxxxx
                   |.org                        |org

--- Comment #1 from Roland Scheidegger <sroland@xxxxxxxxxx> 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
st_CompressedTexSubImage2D?
   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.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux