Setting the anisotropic filtering in a native Half-Life 2 doesn't have any effect. Only bilinear and trilinear filtering work. Just have a look at the screenshot, it's perfectly visible the texture on the ground lacks some nice filtering. http://upload.nowaker.net/nwkr/1399744500_hl2-aniso.jpg
I'm playing on Radeon 7870 with mesa 10.1.3 (Gallium/Glamor) and Arch Linux (rolling release, always up to date with the upstream).
Please consider this issue a feature request (if there is no anisotropic filtering implemented yet) or a bug (if it is implemented but doesn't work for me).
Created attachment 98957 [details] [review]
Bring radeonsi anisotropic filtering setup in line with r600g
Does this patch help?
Anisotropic filtering is also broken for me in other applications, it looks like it's broken with radeonsi overall. Your patch seems to fix it, Michel. I didn't really verify correctness, but 16x anisotropic doesn't look like a blurry mess anymore. :)
Hey, I will give it a try. Can you point me to the git repo with the sources I should patch?
Works now. See the difference.
The fix will certainly look like a performance regression when Michael tests radeonsi next time. Be ready for the shocking news on Phoronix. :)
Author: Michel Dänzer <firstname.lastname@example.org>
Date: Wed May 14 16:30:33 2014 +0900
radeonsi: Fix anisotropic filtering state setup
on Sep 29, 2016 at 05:07:52.
(provided by the Example extension).