summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/r600_texture.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-09-22 15:34:12 +0200
committerMarek Olšák <[email protected]>2013-09-29 15:18:09 +0200
commit0cb9de1dd078395d541c32c0de81ea4f05147baa (patch)
treee6564dc7b0f5b9d058b64bec4074e0f971769f18 /src/gallium/drivers/radeonsi/r600_texture.c
parentba650ccf91a103d90d45b5927a8a9220e222cfc5 (diff)
radeonsi: move debug options to R600_DEBUG
Diffstat (limited to 'src/gallium/drivers/radeonsi/r600_texture.c')
-rw-r--r--src/gallium/drivers/radeonsi/r600_texture.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_texture.c b/src/gallium/drivers/radeonsi/r600_texture.c
index 69ca892b5f8..aa307fb1a22 100644
--- a/src/gallium/drivers/radeonsi/r600_texture.c
+++ b/src/gallium/drivers/radeonsi/r600_texture.c
@@ -291,8 +291,6 @@ static void r600_texture_destroy(struct pipe_screen *screen,
static const struct u_resource_vtbl r600_texture_vtbl;
-DEBUG_GET_ONCE_BOOL_OPTION(print_texdepth, "RADEON_PRINT_TEXDEPTH", FALSE);
-
/* The number of samples can be specified independently of the texture. */
static void r600_texture_get_fmask_info(struct r600_screen *rscreen,
struct r600_texture *rtex,
@@ -468,7 +466,7 @@ r600_texture_create_object(struct pipe_screen *screen,
memset(map + rtex->cmask.offset, 0xCC, rtex->cmask.size);
}
- if (debug_get_option_print_texdepth() && rtex->is_depth) {
+ if (rscreen->b.debug_flags & DBG_TEX_DEPTH && rtex->is_depth) {
printf("Texture: npix_x=%u, npix_y=%u, npix_z=%u, blk_w=%u, "
"blk_h=%u, blk_d=%u, array_size=%u, last_level=%u, "
"bpe=%u, nsamples=%u, flags=%u\n",