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

Author: Eric Anholt <[email protected]>
Date:   Mon Sep 21 09:35:23 2020 -0700

turnip: Don't expose VK_ANDROID_native_buffer on non-Android.

The code is only there when compiling that platform.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7014>

---

 src/freedreno/vulkan/tu_extensions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedreno/vulkan/tu_extensions.py 
b/src/freedreno/vulkan/tu_extensions.py
index 3eeffad33d7..d34cb59ae67 100644
--- a/src/freedreno/vulkan/tu_extensions.py
+++ b/src/freedreno/vulkan/tu_extensions.py
@@ -74,7 +74,7 @@ EXTENSIONS = [
     Extension('VK_EXT_sample_locations',                  1, 'device->gpu_id 
== 650'),
     Extension('VK_EXT_sampler_filter_minmax',             1, True),
     Extension('VK_EXT_transform_feedback',                1, True),
-    Extension('VK_ANDROID_native_buffer',                 1, True),
+    Extension('VK_ANDROID_native_buffer',                 1, 'ANDROID'),
     Extension('VK_KHR_external_fence',                    1, True),
     Extension('VK_KHR_external_fence_fd',                 1, True),
     Extension('VK_KHR_external_semaphore',                1, True),

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to