v3dv: Remove format desc null asserts

Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17490>
This commit is contained in:
Konstantin Seurer 2022-07-12 14:19:52 +02:00 committed by Marge Bot
parent 7e7e01fe0c
commit 61dfccae79
1 changed files with 0 additions and 2 deletions

View File

@ -180,7 +180,6 @@ image_format_features(struct v3dv_physical_device *pdevice,
const struct util_format_description *desc =
vk_format_description(vk_format);
assert(desc);
if (tiling != VK_IMAGE_TILING_LINEAR) {
if (desc->layout == UTIL_FORMAT_LAYOUT_PLAIN && desc->is_array) {
@ -226,7 +225,6 @@ buffer_format_features(VkFormat vk_format, const struct v3dv_format *v3dv_format
const struct util_format_description *desc =
vk_format_description(vk_format);
assert(desc);
VkFormatFeatureFlags2 flags = 0;
if (desc->layout == UTIL_FORMAT_LAYOUT_PLAIN &&