diff options
author | Vinson Lee <[email protected]> | 2010-10-08 16:02:59 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-10-08 16:02:59 -0700 |
commit | 978ffa1d61902f0d55e15fbc51af75d444f35124 (patch) | |
tree | 623bf708e8efd75ea38ec46bfe7aa9a29f6ed7c9 /src | |
parent | 220c0834a45d1dfa71f192b17d9a9b959a5a807e (diff) |
i965: Silence unused variable warning on non-debug builds.
Fixes this GCC warning.
brw_eu_emit.c: In function 'brw_math2':
brw_eu_emit.c:1189: warning: unused variable 'intel'
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu_emit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index 419b40ba84b..8ebcfa3c657 100644 --- 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]. |