diff --git a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c index 74331275300..45fe0e26485 100644 --- a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c +++ b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c @@ -692,6 +692,7 @@ emit_tex(struct ir2_context *ctx, nir_tex_instr *tex) switch (tex->sampler_dim) { case GLSL_SAMPLER_DIM_2D: + case GLSL_SAMPLER_DIM_EXTERNAL: break; case GLSL_SAMPLER_DIM_RECT: is_rect = true;