Bug 50360 - flightgear has absymal performance with the llvm shader compiler
Summary: flightgear has absymal performance with the llvm shader compiler
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 11:08 UTC by almos
Modified: 2012-08-24 08:02 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
patch (17.05 KB, patch)
2012-05-25 15:21 UTC, Vadim Girlin
Details | Splinter Review

Description almos 2012-05-25 11:08:15 UTC
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.
Comment 1 Vadim Girlin 2012-05-25 15:21:57 UTC
Created attachment 62113 [details] [review]
patch

Does this patch help?
Comment 2 almos 2012-05-26 03:15:04 UTC
(In reply to comment #1)
> Created attachment 62113 [details] [review] [review]
> patch
> 
> Does this patch help?
Yes, it helps a lot. Now I get ~40 fps with both compilers.
Comment 3 Vadim Girlin 2012-08-24 08:02:59 UTC
Fix pushed with commit 4acf71f01ea1edb253cd38cc059d4af1a2a40bf4


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.