projects
/
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 ee4ff90c2e5777105841fcdb825a518ea073c1a1..6d9c31f2336508f6a54f96fd6d8b32edfe568dd0 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;