[Mesa-dev] [PATCH 3/3] llvmpipe: enable z32s8x24 format

sroland at vmware.com sroland at vmware.com
Thu May 16 09:34:46 PDT 2013


From: Roland Scheidegger <sroland at vmware.com>

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 667ade1..699ca5f 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -361,12 +361,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;
-- 
1.7.9.5


More information about the mesa-dev mailing list