From 5981ab544562c667c882526c31a6f8c2ce6eba12 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 7 Sep 2016 21:24:08 +0200 Subject: gallium: remove PIPE_BIND_TRANSFER_READ/WRITE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit not used in any useful way Reviewed-by: Eric Anholt Reviewed-by: Nicolai Hähnle Reviewed-by: Roland Scheidegger --- src/gallium/drivers/r300/r300_screen.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/gallium/drivers/r300/r300_screen.c') diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 509feaebb1d..f6949ce191b 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -664,12 +664,6 @@ static boolean r300_is_format_supported(struct pipe_screen* screen, } } - /* Transfers are always supported. */ - if (usage & PIPE_BIND_TRANSFER_READ) - retval |= PIPE_BIND_TRANSFER_READ; - if (usage & PIPE_BIND_TRANSFER_WRITE) - retval |= PIPE_BIND_TRANSFER_WRITE; - return retval == usage; } -- cgit v1.2.3