[Mesa-dev] [PATCH 00/11] i965: Rework sampler index handling in LIR

Chris Forbes chrisf at ijw.co.nz
Mon Aug 4 01:58:43 PDT 2014


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.



More information about the mesa-dev mailing list