From 2c748c5c8a19f331b9b96f4b4365c015d9b3e68c Mon Sep 17 00:00:00 2001 From: Fredrik Höglund Date: Wed, 23 Nov 2016 23:04:59 +0100 Subject: radv: add support for VK_KHR_sampler_mirror_clamp_to_edge radv_tex_wrap() already supports VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE, so all that's needed is to advertise support for the extension. Reviewed-by: Dave Airlie --- src/amd/vulkan/radv_device.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/amd/vulkan/radv_device.c') diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 70c94e919db..0d79eeeef2c 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -170,6 +170,10 @@ static const VkExtensionProperties global_extensions[] = { }; static const VkExtensionProperties device_extensions[] = { + { + .extensionName = VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME, + .specVersion = 1, + }, { .extensionName = VK_KHR_SWAPCHAIN_EXTENSION_NAME, .specVersion = 68, -- cgit v1.2.3