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>
This commit is contained in:
Dave Airlie 2021-06-16 13:39:39 +10:00
parent 2a540877d1
commit 2e97d8245d

View file

@ -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) {