From 2e97d8245d01f81e48b79855aa7f0c9bbeb67fa0 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 16 Jun 2021 13:39:39 +1000 Subject: [PATCH] crocus: disable Z16 This is disabled on i965 for all pre-gen8, so do the same here. Part-of: --- src/gallium/drivers/crocus/crocus_formats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/crocus/crocus_formats.c b/src/gallium/drivers/crocus/crocus_formats.c index 31762643bdc..99c203243e3 100644 --- a/src/gallium/drivers/crocus/crocus_formats.c +++ b/src/gallium/drivers/crocus/crocus_formats.c @@ -470,8 +470,8 @@ crocus_is_format_supported(struct pipe_screen *pscreen, supported &= format == ISL_FORMAT_R32_FLOAT_X8X24_TYPELESS || format == ISL_FORMAT_R32_FLOAT || format == ISL_FORMAT_R24_UNORM_X8_TYPELESS || - format == ISL_FORMAT_R16_UNORM || format == ISL_FORMAT_R8_UINT; + /* Z16 is disabled here as on pre-GEN8 it's slower. */ } if (usage & PIPE_BIND_RENDER_TARGET) {