Module: Mesa Branch: main Commit: b0cd7bc8c14ad38e300bc039cc2283dde03f1e87 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0cd7bc8c14ad38e300bc039cc2283dde03f1e87
Author: Lionel Landwerlin <[email protected]> Date: Tue Jun 14 13:16:08 2022 +0300 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 <[email protected]> Fixes: fbcf65bfea52 ("anv: VK_EXT_border_color_swizzle") Acked-by: Mike Blumenkrantz <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17025> --- 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,
