i965/fs: Support arbitrarily large sampler indices on Broadwell+.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 23 Jan 2014 18:58:25 +0000 (10:58 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 11 Feb 2014 23:22:22 +0000 (15:22 -0800)
commitb371734331a3a15966038de3e3e6e8c30372b3c2
treebc440b24ef49466ad7bb2d521a06f7a18a76f38e
parent0e21ba07f27442b6d53bbba7cf5d7840e416c341
i965/fs: Support arbitrarily large sampler indices on Broadwell+.

I added support for these on Haswell, but forgot to update the Broadwell
code before landing it.  Partially fixes Piglit's max-samplers test.

v2: Use get_element_ud() consistently, rather than using it for the
    source but using brw_vec1_grf for the destination..

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen8_fs_generator.cpp