summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <[email protected]>2016-11-24 13:25:27 +0100
committerJuan A. Suarez Romero <[email protected]>2016-12-21 12:44:25 +0100
commit415f5f09e376ca23db5475283bb509b3152a298b (patch)
tree91e82947a77c0a19b94bfd5349c92a13b7ff41ef /src/gallium
parentc32a9ec5f5bd74ae03b84be4c51d8d174ddf3e17 (diff)
ttn: handle GLSL_SAMPLER_DIM_SUBPASS_MS case
Fixes a warning. Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/nir/tgsi_to_nir.c1
1 files changed, 1 insertions, 0 deletions
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");
}