https://bugs.freedesktop.org/show_bug.cgi?id=31013
--- Comment #13 from Tom Stellard tstellar@gmail.com 2010-10-23 13:01:28 PDT --- (In reply to comment #12)
I though you could have up to 4 indirections in addition to the input, but it's been a while since I looked at 3xx. If the shader works on the same hw using the proprietary driver, it would seem to indicate that was the case (barring some other bug).
I looked at through the docs again, and I'm pretty sure you are right about this. I think we need to start using the {ALU,TEXT}_OFFSET fields of US_CODE_OFFSET, to give us the input + 4 indirections. I'll write a patch for this.