From f6beb4c6b647b0d5077c7abd6c99cdaba6e0c112 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Thu, 16 May 2013 18:33:21 +0200 Subject: [PATCH] llvmpipe: enable z32s8x24 format Now that we can handle it both for sampling and as depth/stencil enable it. Passes nearly all additional piglit tests which are now performed, with two exceptions (one being a framebuffer blit which fails for all other formats including stencil too as we don't support stencil blits, the other reporting a unexpected GL error so doesn't look to be llvmpipe's fault). --- src/gallium/drivers/llvmpipe/lp_screen.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 04493529f91..073d7519184 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -363,12 +363,6 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen, return FALSE; } - /* TODO: Support Z32_FLOAT_S8X24_UINT. See lp_bld_depth.c. */ - if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && - format_desc->block.bits > 32) { - return FALSE; - } - if (bind & PIPE_BIND_DEPTH_STENCIL) { if (format_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN) return FALSE; -- 2.30.2