From: bugzilla-daemon@freedesktop.org
Subject: [Bug 28530] [r300g] Sins of a Solar Empire crash with libtxc_dxtn.so
Date: Mon, 21 Jun 2010 10:45:03 -0700 (PDT)
Message-ID: <20100621174503.58B34130070@annarchy.freedesktop.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from annarchy.freedesktop.org (annarchy.freedesktop.org
[131.252.210.176])
by gabe.freedesktop.org (Postfix) with ESMTP id D71669E75A
for ;
Mon, 21 Jun 2010 10:45:03 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=28530
Roland Scheidegger changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/r300 |Mesa core
AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
|.org |org
--- Comment #1 from Roland Scheidegger 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.