llvmpipe: llvmpipe doesn't support pure integers yet.
authorDave Airlie <airlied@redhat.com>
Wed, 26 Oct 2011 13:50:47 +0000 (15:50 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 26 Oct 2011 13:51:31 +0000 (15:51 +0200)
Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=42240

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_test_format.c

index 1464776aa06d1622ea6802af9ac9ce2b46801308..daf149138df133366c1b442b1fa47d555acf4241 100644 (file)
@@ -287,6 +287,11 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
       return FALSE;
    }
 
+   /* llvmpipe doesn't support pure integer yet */
+   if (util_format_is_pure_integer(format)) {
+      return FALSE;
+   }
+
    /*
     * Everything else should be supported by u_format.
     */
index 4152ca6cf6370e41e8b551cd0162c20c6008cb3b..6aca66dc700fed8326f467bb1137eaec9332fc70 100644 (file)
@@ -345,6 +345,9 @@ test_all(struct gallivm_state *gallivm, unsigned verbose, FILE *fp)
          continue;
       }
 
+      if (util_format_is_pure_integer(format))
+        continue;
+
       if (format_desc->layout == UTIL_FORMAT_LAYOUT_S3TC &&
           !util_format_s3tc_enabled) {
          continue;