Bug 90631

Summary: Compilation failure for fragment shader with many branches on Sandy Bridge
Product: Mesa Reporter: Link Mauve <bugs>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
i915 platform: i915 features:
Attachments: apitrace of Citra trying to compile that fragment shader

Description Link Mauve 2015-05-25 15:54:21 UTC
Created attachment 116029 [details]
apitrace of Citra trying to compile that fragment shader

“Mesa 10.7.0-devel implementation error: Failed to compile fragment shader: FS compile failed: Register spilling not supported with m14 used”

In the attached apitrace, the fragment shader in question is at 1320.

Or alternatively, at https://github.com/citra-emu/citra/blob/master/src/video_core/renderer_opengl/gl_shaders.h#L66
Comment 1 Tapani Pälli 2015-05-26 10:30:53 UTC
probably same issue as with bug #86469
Comment 2 Link Mauve 2015-10-10 00:29:27 UTC
I can confirm the commit linked in bug 86469#c16 fixed Citra’s huge shader as well, thanks!

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.