mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 19:00:13 +01:00
i965: Silence warning about unused brw in release builds.
Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
836f4299e8
commit
f3aecefa99
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue