summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-02-23 18:56:24 -0700
committerBrian Paul <brianp@vmware.com>2010-02-23 18:57:18 -0700
commit0e7c22ff3c8532dad35a08f8b350be78383bfb0d (patch)
treef3dc3f1d8223fdcd7115fc520185af95b6c11a36
parenta84575cdc0c8193b2c7858734e2ec6b1ec4511b2 (diff)
llvmpipe: Z16 format is not supported
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index 1cd3ea9a84..ad5a484959 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -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;