i965/vec4: Support arbitrarily large sampler indices on Broadwell+.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 23 Jan 2014 19:05:46 +0000 (11:05 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 11 Feb 2014 23:24:36 +0000 (15:24 -0800)
commit5ebfac8d723daa3d7f1e20cbfba0000c284f05e3
tree79e613e7ce87d6cc1da1dd4d777edcf80b0c7739
parentb371734331a3a15966038de3e3e6e8c30372b3c2
i965/vec4: Support arbitrarily large sampler indices on Broadwell+.

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

v2: Use get_element_ud() for the destination as well as the source.

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