From: Matt Turner Date: Mon, 30 Jun 2014 01:24:18 +0000 (-0700) Subject: i965/fs: Mark case unreachable to silence warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcac7020cfbde4d97985a932f1a90eb42e84c277;p=mesa.git i965/fs: Mark case unreachable to silence warning. Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index ee4ff90c2e5..6d9c31f2336 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp @@ -1441,6 +1441,8 @@ fs_visitor::emit_texture_gen7(ir_texture *ir, fs_reg dst, fs_reg coordinate, else opcode = SHADER_OPCODE_TG4; break; + default: + unreachable("not reached"); } fs_inst *inst = emit(opcode, dst, src_payload); inst->base_mrf = -1;