Module: Mesa Branch: main Commit: 2e97d8245d01f81e48b79855aa7f0c9bbeb67fa0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e97d8245d01f81e48b79855aa7f0c9bbeb67fa0
Author: Dave Airlie <[email protected]> Date: Wed Jun 16 13:39:39 2021 +1000 crocus: disable Z16 This is disabled on i965 for all pre-gen8, so do the same here. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11409> --- 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) { _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
