projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a5223c
)
i965: Use unreachable() to silence a compiler warning.
author
Matt Turner
<mattst88@gmail.com>
Tue, 5 Nov 2013 00:26:29 +0000
(16:26 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Wed, 6 Nov 2013 19:26:18 +0000
(11:26 -0800)
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_reg.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_reg.h
b/src/mesa/drivers/dri/i965/brw_reg.h
index e9cf892f2ee5cf1c6057acee8348d53be29b327b..548d6779a2b0593da40a7dcea36cbeff84e34774 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_reg.h
+++ b/
src/mesa/drivers/dri/i965/brw_reg.h
@@
-299,6
+299,7
@@
brw_vecn_reg(unsigned width, unsigned file, unsigned nr, unsigned subnr)
default:
assert(!"Invalid register width");
}
+ unreachable();
}
static inline struct brw_reg