diff options
author | Matt Turner <[email protected]> | 2014-06-14 22:52:35 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-06-17 10:18:34 -0700 |
commit | f3aecefa9930ce7dbdabdeefee0bd183172b586f (patch) | |
tree | d81af4db02e10366cd6ca80f7ece6d02a1a3cf68 | |
parent | 836f4299e870a7cff04c2f646a37533d0e68ccd7 (diff) |
i965: Silence warning about unused brw in release builds.
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu_emit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index 5859e2bd3a7..c566aec39c4 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -2683,8 +2683,7 @@ void brw_shader_time_add(struct brw_compile *p, struct brw_reg payload, uint32_t surf_index) { - struct brw_context *brw = p->brw; - assert(brw->gen >= 7); + assert(p->brw->gen >= 7); brw_push_insn_state(p); brw_set_default_access_mode(p, BRW_ALIGN_1); |