summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-06-29 18:24:18 -0700
committerMatt Turner <[email protected]>2014-07-01 08:55:52 -0700
commitfcac7020cfbde4d97985a932f1a90eb42e84c277 (patch)
tree73b7c44aa4fd65d8f501afe2ff10f4fa0584a12b /src/mesa/drivers
parent3d826729dabab53896cdbb1f453c76fab1c7e696 (diff)
i965/fs: Mark case unreachable to silence warning.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_visitor.cpp2
1 files changed, 2 insertions, 0 deletions
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;