[Mesa-dev] [PATCH 55/55] radeonsi: remove more R600 references

Marek Olšák maraeo at gmail.com
Mon Apr 2 04:08:48 UTC 2018


From: Marek Olšák <marek.olsak at amd.com>

---
 src/gallium/drivers/radeonsi/si_state.c   | 1 -
 src/gallium/drivers/radeonsi/si_texture.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index d485a29..73e2c9b 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -1846,7 +1846,6 @@ static uint32_t si_translate_texformat(struct pipe_screen *screen,
 	}
 
 out_unknown:
-	/* R600_ERR("Unable to handle texformat %d %s\n", format, util_format_name(format)); */
 	return ~0;
 }
 
diff --git a/src/gallium/drivers/radeonsi/si_texture.c b/src/gallium/drivers/radeonsi/si_texture.c
index 25bff21..cce6b90 100644
--- a/src/gallium/drivers/radeonsi/si_texture.c
+++ b/src/gallium/drivers/radeonsi/si_texture.c
@@ -1400,7 +1400,7 @@ si_choose_tiling(struct si_screen *sscreen,
 		if (sscreen->debug_flags & DBG(NO_TILING))
 			return RADEON_SURF_MODE_LINEAR_ALIGNED;
 
-		/* Tiling doesn't work with the 422 (SUBSAMPLED) formats on R600+. */
+		/* Tiling doesn't work with the 422 (SUBSAMPLED) formats. */
 		if (desc->layout == UTIL_FORMAT_LAYOUT_SUBSAMPLED)
 			return RADEON_SURF_MODE_LINEAR_ALIGNED;
 
-- 
2.7.4



More information about the mesa-dev mailing list