https://bugs.freedesktop.org/show_bug.cgi?id=32666
Summary: etqw triggers an assert in st_texture.c Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: aaalmosss@gmail.com
Created an attachment (id=41460) View: https://bugs.freedesktop.org/attachment.cgi?id=41460 Review: https://bugs.freedesktop.org/review?bug=32666&attachment=41460
zerotexture.diff
I don't know if it's the game's fault, or mesa's, or mine, but sometimes the following assertion is hit: state_tracker/st_texture.c:68:st_texture_create: Assertion `width0 > 0' failed.
The most systematic way to reproduce it is to get into the vehicle named 'mobile command post', but it's not the only occurrence.
The attached patch avoids the assert, and seems to render correctly, but I'm sure it's not a good solution.