llvmpipe: Z16 format is not supported
authorBrian Paul <brianp@vmware.com>
Wed, 24 Feb 2010 01:56:24 +0000 (18:56 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 24 Feb 2010 01:57:18 +0000 (18:57 -0700)
src/gallium/drivers/llvmpipe/lp_screen.c

index 1cd3ea9a84076e7867583d71852a604f4df50bde..ad5a484959dde3c0bfcd4c0ba358c9dff0895122 100644 (file)
@@ -233,6 +233,10 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
          format_desc->colorspace != UTIL_FORMAT_COLORSPACE_SRGB &&
          format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS)
          return FALSE;
+
+      /* not supported yet */
+      if (format == PIPE_FORMAT_Z16_UNORM)
+         return FALSE;
    }
 
    return TRUE;