Module: Mesa Branch: main Commit: 8441d565ec9eae8aa3019e67032af686b48106b1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8441d565ec9eae8aa3019e67032af686b48106b1
Author: Lionel Landwerlin <[email protected]> Date: Fri Feb 17 14:31:00 2023 +0200 anv: remove assert typed write support when using NULL surface A number of apps hit this assert in debug mode. Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Ivan Briano <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21382> --- src/intel/vulkan/anv_image.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index d66d71ca27b..f84e53f558b 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -2692,8 +2692,6 @@ anv_CreateImageView(VkDevice _device, * reads but for most writes. Instead of hanging if someone gets * it wrong, we give them a NULL descriptor. */ - assert(isl_format_supports_typed_writes(device->info, - format.isl_format)); isl_null_fill_state(&device->isl_dev, iview->planes[vplane].lowered_storage_surface_state.state.map, .size = {
