diff options
author | Kenneth Graunke <[email protected]> | 2013-07-03 14:26:01 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-09 14:09:10 -0700 |
commit | ec995de6fbafe8d6018b91ca130abac760112475 (patch) | |
tree | b2f6bdd022d6ba1bc58b7d33c0811d94edbeff9e /src/mesa/drivers/dri/i965/brw_cc.c | |
parent | 329779a0b45b63be17627f026533c80b2c8f7991 (diff) |
i965: Move intel_context::stats_wm to brw_context.
Signed-off-by: Kenneth Graunke <[email protected]>
Acked-by: Chris Forbes <[email protected]>
Acked-by: Paul Berry <[email protected]>
Acked-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_cc.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_cc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cc.c b/src/mesa/drivers/dri/i965/brw_cc.c index f3e5b7cfb4a..0b849479d0c 100644 --- a/src/mesa/drivers/dri/i965/brw_cc.c +++ b/src/mesa/drivers/dri/i965/brw_cc.c @@ -96,7 +96,6 @@ brw_fix_xRGB_alpha(GLenum function) */ static void upload_cc_unit(struct brw_context *brw) { - struct intel_context *intel = &brw->intel; struct gl_context *ctx = &brw->intel.ctx; struct brw_cc_unit_state *cc; @@ -211,7 +210,7 @@ static void upload_cc_unit(struct brw_context *brw) cc->cc2.depth_write_enable = ctx->Depth.Mask; } - if (intel->stats_wm || unlikely(INTEL_DEBUG & DEBUG_STATS)) + if (brw->stats_wm || unlikely(INTEL_DEBUG & DEBUG_STATS)) cc->cc5.statistics_enable = 1; /* CACHE_NEW_CC_VP */ |