OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
836f429
)
i965: Silence warning about unused brw in release builds.
author
Matt Turner
<mattst88@gmail.com>
Sun, 15 Jun 2014 05:52:35 +0000
(22:52 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Tue, 17 Jun 2014 17:18:34 +0000
(10:18 -0700)
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
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
5859e2b
..
c566aec
100644
(file)
--- 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);