From: José Fonseca Date: Tue, 23 Feb 2010 20:19:50 +0000 (+0000) Subject: llvmpipe: Kill unused UTIL_FORMAT_LAYOUT_SCALAR. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e526b42b0fdcb9144292598458137076514fe04;p=mesa.git llvmpipe: Kill unused UTIL_FORMAT_LAYOUT_SCALAR. --- diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index ad5a484959d..0e5750ce11c 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -194,8 +194,7 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen, format_desc->block.height != 1) return FALSE; - if(format_desc->layout != UTIL_FORMAT_LAYOUT_SCALAR && - format_desc->layout != UTIL_FORMAT_LAYOUT_ARITH && + if(format_desc->layout != UTIL_FORMAT_LAYOUT_ARITH && format_desc->layout != UTIL_FORMAT_LAYOUT_ARRAY) return FALSE; @@ -224,8 +223,7 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen, format_desc->block.height != 1) return FALSE; - if(format_desc->layout != UTIL_FORMAT_LAYOUT_SCALAR && - format_desc->layout != UTIL_FORMAT_LAYOUT_ARITH && + if(format_desc->layout != UTIL_FORMAT_LAYOUT_ARITH && format_desc->layout != UTIL_FORMAT_LAYOUT_ARRAY) return FALSE;