llvmpipe: Kill unused UTIL_FORMAT_LAYOUT_SCALAR.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 23 Feb 2010 20:19:50 +0000 (20:19 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 24 Feb 2010 12:15:13 +0000 (12:15 +0000)
src/gallium/drivers/llvmpipe/lp_screen.c

index ad5a484959dde3c0bfcd4c0ba358c9dff0895122..0e5750ce11cd83f394d45b1e70f8c2463df9808e 100644 (file)
@@ -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;