From: Juan A. Suarez Romero Date: Thu, 24 Nov 2016 12:25:27 +0000 (+0100) Subject: ttn: handle GLSL_SAMPLER_DIM_SUBPASS_MS case X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=415f5f09e376ca23db5475283bb509b3152a298b;p=mesa.git ttn: handle GLSL_SAMPLER_DIM_SUBPASS_MS case Fixes a warning. Reviewed-by: Samuel Iglesias Gonsálvez --- diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c index d01e458de4b..f50a5a6c0b4 100644 --- a/src/gallium/auxiliary/nir/tgsi_to_nir.c +++ b/src/gallium/auxiliary/nir/tgsi_to_nir.c @@ -1341,6 +1341,7 @@ ttn_tex(struct ttn_compile *c, nir_alu_dest dest, nir_ssa_def **src) instr->coord_components = 3; break; case GLSL_SAMPLER_DIM_SUBPASS: + case GLSL_SAMPLER_DIM_SUBPASS_MS: unreachable("invalid sampler_dim"); }