diff options
author | Marek Olšák <[email protected]> | 2018-04-01 18:30:47 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-04-05 15:34:58 -0400 |
commit | 72e9e98076d0ee0281aa3982602a6e85cd14bf2b (patch) | |
tree | f96ab4406aa890a47537554df908a8c30eedbffa /src/gallium/drivers/radeon/r600_texture.c | |
parent | 076afb4f0e71ece84b875466da920aa62415151a (diff) |
radeonsi: move and rename R600_ERR out of r600_pipe_common.h
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_texture.c')
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index d14f7e1e3f9..163847eefcd 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -868,13 +868,13 @@ void si_texture_get_fmask_info(struct si_screen *sscreen, bpe = 4; break; default: - R600_ERR("Invalid sample count for FMASK allocation.\n"); + PRINT_ERR("Invalid sample count for FMASK allocation.\n"); return; } if (sscreen->ws->surface_init(sscreen->ws, &templ, flags, bpe, RADEON_SURF_MODE_2D, &fmask)) { - R600_ERR("Got error in surface_init while allocating FMASK.\n"); + PRINT_ERR("Got error in surface_init while allocating FMASK.\n"); return; } @@ -1573,7 +1573,7 @@ bool si_init_flushed_depth_texture(struct pipe_context *ctx, *flushed_depth_texture = (struct r600_texture *)ctx->screen->resource_create(ctx->screen, &resource); if (*flushed_depth_texture == NULL) { - R600_ERR("failed to create temporary texture to hold flushed depth\n"); + PRINT_ERR("failed to create temporary texture to hold flushed depth\n"); return false; } return true; @@ -1735,7 +1735,7 @@ static void *si_texture_transfer_map(struct pipe_context *ctx, si_init_temp_resource_from_box(&resource, texture, box, level, 0); if (!si_init_flushed_depth_texture(ctx, &resource, &staging_depth)) { - R600_ERR("failed to create temporary texture to hold untiled copy\n"); + PRINT_ERR("failed to create temporary texture to hold untiled copy\n"); FREE(trans); return NULL; } @@ -1743,7 +1743,7 @@ static void *si_texture_transfer_map(struct pipe_context *ctx, if (usage & PIPE_TRANSFER_READ) { struct pipe_resource *temp = ctx->screen->resource_create(ctx->screen, &resource); if (!temp) { - R600_ERR("failed to create a temporary depth texture\n"); + PRINT_ERR("failed to create a temporary depth texture\n"); FREE(trans); return NULL; } @@ -1762,7 +1762,7 @@ static void *si_texture_transfer_map(struct pipe_context *ctx, /* XXX: only readback the rectangle which is being mapped? */ /* XXX: when discard is true, no need to read back from depth texture */ if (!si_init_flushed_depth_texture(ctx, texture, &staging_depth)) { - R600_ERR("failed to create temporary texture to hold untiled copy\n"); + PRINT_ERR("failed to create temporary texture to hold untiled copy\n"); FREE(trans); return NULL; } @@ -1792,7 +1792,7 @@ static void *si_texture_transfer_map(struct pipe_context *ctx, /* Create the temporary texture. */ staging = (struct r600_texture*)ctx->screen->resource_create(ctx->screen, &resource); if (!staging) { - R600_ERR("failed to create temporary texture to hold untiled copy\n"); + PRINT_ERR("failed to create temporary texture to hold untiled copy\n"); FREE(trans); return NULL; } |