[Mesa-dev] intel: FS compile failed: no register to spill
eric at anholt.net
Wed Oct 10 11:29:47 PDT 2012
Johannes Stezenbach <js at sig21.net> writes:
> I'm experimenting with texture interpolation and seeing this error:
> Mesa 8.0.4 implementation error: Failed to compile fragment shader: FS compile failed: no register to spill
> Please report at bugs.freedesktop.org
> It seems the issue is already known, I found
> I'm using Debian unstable amd64 on Sandy Bridge Core i5-2400S.
> It seems the fix for the chromium-os issue is in Mesa 9.0 but not in 8.0.4,
> thus I fetched the Debian source package and recompiled with the fix
> applied, but it did not help in my case.
That commit is a change for debug printfs. If you just applied that, it
wouldn't help. You should try Mesa master.
> Attached is a (stripped-down) Python-OpenGL script and fragment shader
> which demonstrates the issue. The shader code is taken from
> (shader coding style ugliness is from the original source)
> The script doesn't do anything useful, in the ideal case it
> would just print "now" and "end" without throwing an error.
> BTW, the compile error is thrown at glutSwapBuffers() not at
> glCompileShaderARB() time. Is there a way to force the error
> to show up earlier?
Ask for the shader's compile status and then the program's link status.
Take a look at piglit/tests/util/.
> Is that the current state of affairs that using loops in GLSL is
> basically broken on Intel? Any hope to get it fixed?
Works fine on current Mesa.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev