https://bugs.freedesktop.org/show_bug.cgi?id=50360
Bug #: 50360 Summary: flightgear has absymal performance with the llvm shader compiler Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: aaalmosss@gmail.com
I get ~3 fps with the LLVM compiler, while I get ~20 fps with `R600_LLVM=0 fgfs`. The only setting on the 'rendering options' dialog that affects framerate is 'material shaders', when it's off, I get ~50 fps with both compilers.
Other games perform around the same with the two compilers.
https://bugs.freedesktop.org/show_bug.cgi?id=50360
--- Comment #1 from Vadim Girlin ptpzz@yandex.ru 2012-05-25 15:21:57 PDT --- Created attachment 62113 --> https://bugs.freedesktop.org/attachment.cgi?id=62113 patch
Does this patch help?
https://bugs.freedesktop.org/show_bug.cgi?id=50360
--- Comment #2 from almos aaalmosss@gmail.com 2012-05-26 03:15:04 PDT --- (In reply to comment #1)
Created attachment 62113 [details] [review] patch
Does this patch help?
Yes, it helps a lot. Now I get ~40 fps with both compilers.
https://bugs.freedesktop.org/show_bug.cgi?id=50360
Vadim Girlin ptpzz@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Vadim Girlin ptpzz@yandex.ru 2012-08-24 08:02:59 UTC --- Fix pushed with commit 4acf71f01ea1edb253cd38cc059d4af1a2a40bf4
dri-devel@lists.freedesktop.org