libvulkan: Add VK_ANDROID_external_memory_android_hardware_buffer
Test: build
Change-Id: Ice6ec464e91aaf42d56afaf9b11fb514076f64e9
diff --git a/vulkan/libvulkan/code-generator.tmpl b/vulkan/libvulkan/code-generator.tmpl
index 3b48e08..84644a9 100644
--- a/vulkan/libvulkan/code-generator.tmpl
+++ b/vulkan/libvulkan/code-generator.tmpl
@@ -702,6 +702,7 @@
{{define "driver.KnownExtensions"}}
{{Macro "driver.InterceptedExtensions"}}
VK_KHR_get_physical_device_properties2
+VK_ANDROID_external_memory_android_hardware_buffer
{{end}}
@@ -1160,7 +1161,6 @@
------------------------------------------------------------------------------
Reports whether an extension has functions exported by the loader.
E.g. applications can directly link to an extension function.
- Currently only support WSI extensions this way.
------------------------------------------------------------------------------
*/}}
{{define "IsExtensionExported"}}
@@ -1168,6 +1168,7 @@
{{ if eq $ext "VK_KHR_surface"}}true
{{else if eq $ext "VK_KHR_swapchain"}}true
{{else if eq $ext "VK_KHR_android_surface"}}true
+ {{else if eq $ext "VK_ANDROID_external_memory_android_hardware_buffer"}}true
{{end}}
{{end}}