Mesa (master): anv: Enabled the VK_EXT_sample_locations extension

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jan 27 23:35:39 UTC 2021


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

Author: Eleni Maria Stea <estea at igalia.com>
Date:   Thu Mar 14 21:52:07 2019 +0200

anv: Enabled the VK_EXT_sample_locations extension

Enabled the VK_EXT_sample_locations for Intel Gen >= 7.

v2: Replaced device.info->gen >= 7 with True, as Anv doesn't support
    anything below Gen7. (Lionel Landwerlin)

Reviewed-by: Sagar Ghuge <sagar.ghuge at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1887>

---

 docs/features.txt                  | 1 +
 src/intel/vulkan/anv_extensions.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/features.txt b/docs/features.txt
index 2a583de8583..9d9027647de 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -490,6 +490,7 @@ Khronos extensions that are not part of any Vulkan version:
   VK_KHR_performance_query                              DONE (anv/gen8+)
   VK_KHR_pipeline_executable_properties                 DONE (anv, radv)
   VK_KHR_push_descriptor                                DONE (anv, radv)
+  VK_EXT_sample_locations                               DONE (anv, radv)
   VK_KHR_shader_clock                                   DONE (anv, radv)
   VK_KHR_shader_non_semantic_info                       DONE (anv, radv)
   VK_KHR_shader_terminate_invocation                    DONE (anv, radv)
diff --git a/src/intel/vulkan/anv_extensions.py b/src/intel/vulkan/anv_extensions.py
index 96a065c2aba..f4b1b6346a9 100644
--- a/src/intel/vulkan/anv_extensions.py
+++ b/src/intel/vulkan/anv_extensions.py
@@ -155,7 +155,7 @@ EXTENSIONS = [
     Extension('VK_EXT_private_data',                      1, True),
     Extension('VK_EXT_queue_family_foreign',              1, 'ANDROID'),
     Extension('VK_EXT_robustness2',                       1, True),
-    Extension('VK_EXT_sample_locations',                  1, False),
+    Extension('VK_EXT_sample_locations',                  1, True),
     Extension('VK_EXT_sampler_filter_minmax',             2, 'device->info.gen >= 9'),
     Extension('VK_EXT_scalar_block_layout',               1, True),
     Extension('VK_EXT_separate_stencil_usage',            1, True),



More information about the mesa-commit mailing list