summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pm4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pm4.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_pm4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pm4.c b/src/gallium/drivers/radeonsi/si_pm4.c
index c08c86475c6..4f81ca875be 100644
--- a/src/gallium/drivers/radeonsi/si_pm4.c
+++ b/src/gallium/drivers/radeonsi/si_pm4.c
@@ -200,10 +200,10 @@ unsigned si_pm4_dirty_dw(struct si_context *rctx)
continue;
count += state->ndw;
-#if R600_TRACE_CS
+#if SI_TRACE_CS
/* for tracing each states */
if (rctx->screen->trace_bo) {
- count += R600_TRACE_CS_DWORDS;
+ count += SI_TRACE_CS_DWORDS;
}
#endif
}
@@ -227,7 +227,7 @@ void si_pm4_emit(struct si_context *rctx, struct si_pm4_state *state)
cs->cdw += state->ndw;
-#if R600_TRACE_CS
+#if SI_TRACE_CS
if (rctx->screen->trace_bo) {
r600_trace_emit(rctx);
}