projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
220c083
)
i965: Silence unused variable warning on non-debug builds.
author
Vinson Lee
<vlee@vmware.com>
Fri, 8 Oct 2010 23:02:59 +0000
(16:02 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 8 Oct 2010 23:02:59 +0000
(16:02 -0700)
Fixes this GCC warning.
brw_eu_emit.c: In function 'brw_math2':
brw_eu_emit.c:1189: warning: unused variable 'intel'
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 419b40ba84b7c01765da7b5659405dbf9a3e428d..8ebcfa3c657e911e6781ecc0483ae4647d7d1879 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/
src/mesa/drivers/dri/i965/brw_eu_emit.c
@@
-1190,6
+1190,7
@@
void brw_math2(struct brw_compile *p,
struct brw_instruction *insn = next_insn(p, BRW_OPCODE_MATH);
assert(intel->gen >= 6);
+ (void) intel;
/* Math is the same ISA format as other opcodes, except that CondModifier
* becomes FC[3:0] and ThreadCtrl becomes FC[5:4].