Commit 6b4b8141 by Chris Forbes

Implement VK_EXT_queue_family_foreign

This extension only actually adds an enum. The interesting behavior will come with image and buffer memory barriers describing an ownership transition between the real queue family and VK_EXT_QUEUE_FAMILY_FOREIGN. Depending on the platform, this may be nothing; may require cache maintenance operations; or may require a copy to/from an external buffer. Bug: b/141697747 Change-Id: Ia5b6d3027f21bb7c61143972fcb4d4cd8bc06f11 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/36728Tested-by: 's avatarChris Forbes <chrisforbes@google.com> Presubmit-Ready: Chris Forbes <chrisforbes@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent 072466ad
...@@ -208,6 +208,7 @@ static const VkExtensionProperties deviceExtensionProperties[] = ...@@ -208,6 +208,7 @@ static const VkExtensionProperties deviceExtensionProperties[] =
{ VK_KHR_STORAGE_BUFFER_STORAGE_CLASS_EXTENSION_NAME, VK_KHR_STORAGE_BUFFER_STORAGE_CLASS_SPEC_VERSION }, { VK_KHR_STORAGE_BUFFER_STORAGE_CLASS_EXTENSION_NAME, VK_KHR_STORAGE_BUFFER_STORAGE_CLASS_SPEC_VERSION },
// Only 1.1 core version of this is supported. The extension has additional requirements // Only 1.1 core version of this is supported. The extension has additional requirements
//{ VK_KHR_VARIABLE_POINTERS_EXTENSION_NAME, VK_KHR_VARIABLE_POINTERS_SPEC_VERSION }, //{ VK_KHR_VARIABLE_POINTERS_EXTENSION_NAME, VK_KHR_VARIABLE_POINTERS_SPEC_VERSION },
{ VK_EXT_QUEUE_FAMILY_FOREIGN_EXTENSION_NAME, VK_EXT_QUEUE_FAMILY_FOREIGN_SPEC_VERSION },
#ifndef __ANDROID__ #ifndef __ANDROID__
// We fully support the KHR_swapchain v70 additions, so just track the spec version. // We fully support the KHR_swapchain v70 additions, so just track the spec version.
{ VK_KHR_SWAPCHAIN_EXTENSION_NAME, VK_KHR_SWAPCHAIN_SPEC_VERSION }, { VK_KHR_SWAPCHAIN_EXTENSION_NAME, VK_KHR_SWAPCHAIN_SPEC_VERSION },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment