diff options
author | Marek Olšák <[email protected]> | 2014-01-22 02:02:18 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-01-28 01:39:42 +0100 |
commit | a4c218f398a6176f2ecbe7e295020d348670a957 (patch) | |
tree | da191a95391994e2c698c04451ff5d76c8277c17 /src/gallium/drivers/radeonsi/si_pm4.c | |
parent | ba0c16f7b2283db9dbeef036cf54dd6b694e4eaa (diff) |
r600g,radeonsi: consolidate variables for CS tracing
Reviewed-by: Michel Dänzer <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pm4.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pm4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pm4.c b/src/gallium/drivers/radeonsi/si_pm4.c index 5b132850272..c8769370db0 100644 --- a/src/gallium/drivers/radeonsi/si_pm4.c +++ b/src/gallium/drivers/radeonsi/si_pm4.c @@ -202,7 +202,7 @@ unsigned si_pm4_dirty_dw(struct si_context *sctx) count += state->ndw; #if SI_TRACE_CS /* for tracing each states */ - if (sctx->screen->trace_bo) { + if (sctx->screen->b.trace_bo) { count += SI_TRACE_CS_DWORDS; } #endif @@ -228,7 +228,7 @@ void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state) cs->cdw += state->ndw; #if SI_TRACE_CS - if (sctx->screen->trace_bo) { + if (sctx->screen->b.trace_bo) { si_trace_emit(sctx); } #endif |