From: Rob Clark Date: Mon, 21 Dec 2015 15:21:29 +0000 (-0500) Subject: freedreno/ir3: drop unnecessary unreachable() case X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab4efb19dc4dd5f4e5822f90178f0edba1c4095a;p=mesa.git freedreno/ir3: drop unnecessary unreachable() case It will still hit a compile_assert() in emit_tex, which has the advantage of dumping out the offending shader. Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c index 224f7806b3c..bb2221d17d3 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c @@ -1954,8 +1954,6 @@ emit_instr(struct ir3_compile *ctx, nir_instr *instr) case nir_texop_query_levels: emit_tex_query_levels(ctx, tex); break; - case nir_texop_samples_identical: - unreachable("nir_texop_samples_identical"); default: emit_tex(ctx, tex); break;