v3dv/formats: properly return unsupported for 1D compressed textures

Gets tests like the following one properly skipped:
   dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats.color.1d.etc2_r8g8b8a8_unorm_block.etc2_r8g8b8a8_unorm_block.optimal_general

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
diff --git a/src/broadcom/vulkan/v3dv_formats.c b/src/broadcom/vulkan/v3dv_formats.c
index 3e898d6..e2d9622 100644
--- a/src/broadcom/vulkan/v3dv_formats.c
+++ b/src/broadcom/vulkan/v3dv_formats.c
@@ -650,6 +650,12 @@
       unreachable("bad VkImageType");
    }
 
+   /* Our hw doesn't support 1D compressed textures. */
+   if (info->type == VK_IMAGE_TYPE_1D &&
+       vk_format_is_compressed(info->format)) {
+       goto unsupported;
+   }
+
    /* From the Vulkan 1.0 spec, section 34.1.1. Supported Sample Counts:
     *
     * sampleCounts will be set to VK_SAMPLE_COUNT_1_BIT if at least one of the