Mesa (master): anv: expose support for VK_KHR_sampler_mirror_clamp_to_edge

Ilia Mirkin imirkin at kemper.freedesktop.org
Thu Dec 1 01:51:14 UTC 2016


Module: Mesa
Branch: master
Commit: fda1d0187d2e9ea2aa9e1f4afd3c4ebccf74f668
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fda1d0187d2e9ea2aa9e1f4afd3c4ebccf74f668

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Nov 30 00:56:48 2016 -0500

anv: expose support for VK_KHR_sampler_mirror_clamp_to_edge

This is already supported in genX_state.c, expose the extension string.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>

---

 src/intel/vulkan/anv_device.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 0b0f610..d594df7 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -260,6 +260,10 @@ static const VkExtensionProperties device_extensions[] = {
       .extensionName = VK_KHR_SWAPCHAIN_EXTENSION_NAME,
       .specVersion = 68,
    },
+   {
+      .extensionName = VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME,
+      .specVersion = 1,
+   }
 };
 
 static void *




More information about the mesa-commit mailing list