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 <airlied@redhat.com>
This commit is contained in:
Fredrik Höglund
2016-11-23 23:04:59 +01:00
committed by Dave Airlie
parent 5cbcbc75f4
commit 2c748c5c8a

View File

@@ -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,