summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.c
diff options
context:
space:
mode:
authorAndreas Hartmetz <[email protected]>2014-01-11 15:56:47 +0100
committerMarek Olšák <[email protected]>2014-01-14 00:07:13 +0100
commit0b57fc15e13ee6b1f8271927b7334a7ea280624b (patch)
tree2d2d7cbdfc66c82b11e9c766a8fd5bfbab299b72 /src/gallium/drivers/radeonsi/si_pipe.c
parent1b79764f495c769f3d56a4229085e313f23c9e3e (diff)
radeonsi: Rename R600->SI in some remaining defines.
I had previously considered that unsafe. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index 2865269ca43..5c772cba914 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -597,7 +597,7 @@ static void si_destroy_screen(struct pipe_screen* pscreen)
r600_common_screen_cleanup(&rscreen->b);
-#if R600_TRACE_CS
+#if SI_TRACE_CS
if (rscreen->trace_bo) {
rscreen->ws->buffer_unmap(rscreen->trace_bo->cs_buf);
pipe_resource_reference((struct pipe_resource**)&rscreen->trace_bo, NULL);
@@ -656,7 +656,7 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws)
if (debug_get_bool_option("RADEON_DUMP_SHADERS", FALSE))
rscreen->b.debug_flags |= DBG_FS | DBG_VS | DBG_GS | DBG_PS | DBG_CS;
-#if R600_TRACE_CS
+#if SI_TRACE_CS
rscreen->cs_count = 0;
if (rscreen->info.drm_minor >= 28) {
rscreen->trace_bo = (struct r600_resource*)pipe_buffer_create(&rscreen->screen,