Bug 50360

Summary: flightgear has absymal performance with the llvm shader compiler
Product: Mesa Reporter: almos <aaalmosss>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: jannis-lists
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch

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.