Previously sampler indices were stored in a dedicated field of backend_instruction. This series reworks them to be passed as the src1 operand, mirroring how we deal with UBO accesses, etc.
This is required in order to relax the restriction that sampler array indices be constant expressions. (Well, to do it tidily, at least.) No regressions on my Haswell. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev