[Mesa-dev] [PATCH 5/5] i965/fs: Add support for shadow comparitors with gather4

Chris Forbes chrisf at ijw.co.nz
Thu Oct 10 23:04:52 CEST 2013


The 1D array case doesn't actually exist -- there is no 1D texture
support for gather.

For 2D arrays, the array index lands in the `r` slot of the message.

On Fri, Oct 11, 2013 at 9:25 AM, Eric Anholt <eric at anholt.net> wrote:
> Chris Forbes <chrisf at ijw.co.nz> writes:
>
>> Note that gather4_po_c's parameters are too long for SIMD16. It might be
>> worth emitting 2xSIMD8 messages in this case at some point.
>
> So, what happens for sampler messages that need an array index (1d/2d
> array), but we don't have that slot in gather4_po?  Do we just drop the
> array index on the floor?


More information about the mesa-dev mailing list