mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
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'
This commit is contained in:
parent
220c0834a4
commit
978ffa1d61
1 changed files with 1 additions and 0 deletions
|
|
@ -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].
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue