spirv/nir: Don't increment coord_components for array lod queries
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 Jul 2016 03:57:37 +0000 (20:57 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 22 Jul 2016 23:48:54 +0000 (16:48 -0700)
commit34a39e91bac2c2f12389cded943019b79c7a9a06
tree7cdd62d86b5826698a3d2053064826fe1a9d3407
parent67b7d876e429f13de874df447c67f47d2890f71a
spirv/nir: Don't increment coord_components for array lod queries

For lod query instructions, we really don't care whether or not the sampler
is an array type because that doesn't factor into the LOD.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "12.0" <mesa-dev@lists.freedesktop.org>
src/compiler/spirv/spirv_to_nir.c