projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d82672
)
i965/fs: Mark case unreachable to silence warning.
author
Matt Turner
<mattst88@gmail.com>
Mon, 30 Jun 2014 01:24:18 +0000
(18:24 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Tue, 1 Jul 2014 15:55:52 +0000
(08:55 -0700)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
index
ee4ff90
..
6d9c31f
100644
(file)
--- 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;