Module: Mesa Branch: master Commit: 0e7c22ff3c8532dad35a08f8b350be78383bfb0d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e7c22ff3c8532dad35a08f8b350be78383bfb0d
Author: Brian Paul <[email protected]> Date: Tue Feb 23 18:56:24 2010 -0700 llvmpipe: Z16 format is not supported --- src/gallium/drivers/llvmpipe/lp_screen.c | 4 ++++ 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 1cd3ea9..ad5a484 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
