projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
242ca9a
)
i965: Warning fix
author
Eric Anholt
<eric@anholt.net>
Tue, 24 Dec 2013 00:08:53 +0000
(16:08 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 6 Jan 2014 18:54:22 +0000
(10:54 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_eu_emit.c
b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index c6538281b18527210ffcd25922f89715101c32a8..c2ca10d54b9706140a2f22447978ad2dc695766e 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/
src/mesa/drivers/dri/i965/brw_eu_emit.c
@@
-108,8
+108,6
@@
unsigned
brw_reg_type_to_hw_type(const struct brw_context *brw,
enum brw_reg_type type, unsigned file)
{
- bool imm = file == BRW_IMMEDIATE_VALUE;
-
if (file == BRW_IMMEDIATE_VALUE) {
const static int imm_hw_types[] = {
[BRW_REGISTER_TYPE_UD] = BRW_HW_REG_TYPE_UD,