From b0cd7bc8c14ad38e300bc039cc2283dde03f1e87 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 14 Jun 2022 13:16:08 +0300 Subject: [PATCH] anv: don't expose EXT_border_color_swizzle on gfx7 This requires EXT_custom_border_color which isn't supported on gfx7. Signed-off-by: Lionel Landwerlin Fixes: fbcf65bfea52 ("anv: VK_EXT_border_color_swizzle") Acked-by: Mike Blumenkrantz Part-of: --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index ec0ff836687..0adcf7cf0a7 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -254,7 +254,7 @@ get_device_extensions(const struct anv_physical_device *device, .KHR_workgroup_memory_explicit_layout = true, .KHR_zero_initialize_workgroup_memory = true, .EXT_4444_formats = true, - .EXT_border_color_swizzle = true, + .EXT_border_color_swizzle = device->info.ver >= 8, .EXT_buffer_device_address = device->has_a64_buffer_access, .EXT_calibrated_timestamps = device->has_reg_timestamp, .EXT_color_write_enable = true,