https://bugs.freedesktop.org/show_bug.cgi?id=29762
--- Comment #3 from Andrew Randrianasulu randrik@mail.ru 2010-08-25 19:27:22 PDT --- (In reply to comment #2)
The compiler error is valid. Relative addressing (array indexing) is not implemented for fragment shaders.
The hardware only suppports relative addressing using the loop counter and only on r500. The loop counter register type has been removed in Gallium so it cannot be implemented directly. Some non-trivial work is needed in the compiler.
May be it will be not too bad idea to restore this register type support in Gallium first? Anyone remember why it was removed?