nir/lower_tex: fix typo with sample_dim
authorRob Clark <robdclark@gmail.com>
Thu, 8 Sep 2016 19:49:49 +0000 (15:49 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 14 Sep 2016 17:45:32 +0000 (13:45 -0400)
commitbff90aedf1d06c7e746b2d56319b19a624594feb
treec4d1ffe2509094d0dbf72d0be954337e7c09ace9
parent1a8424cebaeaf46a01000624a46764f3e84dad85
nir/lower_tex: fix typo with sample_dim

Numeric 2 is actually GLSL_SAMPLER_DIM_3D, which I don't think is what
was intended.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_lower_tex.c