softpipe: YUV textures should be supported.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 23 Apr 2010 16:04:06 +0000 (17:04 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 23 Apr 2010 16:08:11 +0000 (17:08 +0100)
src/gallium/drivers/softpipe/sp_screen.c

index 7b1e058ac8365d78ca72490c3446c3b525058a83..52ccb32530c9b7e3648cc07a629ab7b2ffb400ad 100644 (file)
@@ -155,10 +155,6 @@ softpipe_is_format_supported( struct pipe_screen *screen,
           target == PIPE_TEXTURE_CUBE);
 
    switch(format) {
-   case PIPE_FORMAT_YUYV:
-   case PIPE_FORMAT_UYVY:
-      return FALSE;
-
    case PIPE_FORMAT_DXT1_RGB:
    case PIPE_FORMAT_DXT1_RGBA:
    case PIPE_FORMAT_DXT3_RGBA: