with current Mesa (git-568594d) on Haswell (GT2) it fails like:
--- 8< ---
Maximum 133 registers live at once.
Mesa 11.1.0-devel implementation error: Failed to compile fragment shader: FS compile failed: no register to spill:
Are you still able to reproduce this?
This got fixed by
Author: Kristian Høgsberg Kristensen <firstname.lastname@example.org>
Date: Tue Oct 20 23:31:49 2015 -0700
i965/fs: Avoid scalar destinations in emit_uniformize()
The scalar destination registers break copy propagation. Instead compute
the results to a regular register and then reference a component when we
later use the result as a source.
Reviewed-by: Francisco Jerez <email@example.com>
Signed-off-by: Kristian Høgsberg Kristensen <firstname.lastname@example.org>