[Mesa-dev] [PATCH] anv: expose support for VK_KHR_sampler_mirror_clamp_to_edge

Ilia Mirkin imirkin at alum.mit.edu
Wed Nov 30 06:04:40 UTC 2016


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

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---

./deqp-vk --deqp-visibility=hidden --deqp-case='*mirror_clamp_to_edge*'
Test run totals:
  Passed:        2795/3640 (76.8%)
  Failed:        0/3640 (0.0%)
  Not supported: 845/3640 (23.2%)
  Warnings:      0/3640 (0.0%)

 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 7a7ae6b..7015e88 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 *
-- 
2.7.3



More information about the mesa-dev mailing list