[Bug 32888] [r600g] GL_EXT_texture_compression_s3tc support

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 6 07:50:49 PST 2011


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

--- Comment #2 from Tobias Jakobi <liquid.acid at gmx.net> 2011-02-06 07:50:48 PST ---
I just noticed that there is the R600_ENABLE_S3TC option and tried to enable
it.

However this triggers the CS checker in the kernel and reject most of the
commands. Tried with Max Payne 2 and FEAR, since I know that these two use
texture compression when available (MP2 even in the menu):
1) MP2 just displays a black screen
2) FEAR works in the menu, but crashes when going ingame

In both cases I get an error from r600_check_texture_resource (r600_cs.c),
which comes from r600_bpe_from_format not knowing the FMT_BCx formas.

The format code was introduced in this commit:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2c55547dc36f404e29dbc9253166f90df6783af

The corresponding debug option here:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6baad55f157387d0bb44144680a96bc32280109f

I dunno how this should have ever worked, when the kernel immediately rejects
these formats?

-- 
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 dri-devel mailing list