From 415f5f09e376ca23db5475283bb509b3152a298b Mon Sep 17 00:00:00 2001 From: "Juan A. Suarez Romero" Date: Thu, 24 Nov 2016 13:25:27 +0100 Subject: [PATCH] ttn: handle GLSL_SAMPLER_DIM_SUBPASS_MS case MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes a warning. Reviewed-by: Samuel Iglesias Gonsálvez --- src/gallium/auxiliary/nir/tgsi_to_nir.c | 1 + 1 file changed, 1 insertion(+) 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"); } -- 2.30.2