Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NegativeSparseImage.QueueBindSparseMemoryType4 #6808

Open
arno-lunarg opened this issue Oct 24, 2023 · 0 comments
Open

Fix NegativeSparseImage.QueueBindSparseMemoryType4 #6808

arno-lunarg opened this issue Oct 24, 2023 · 0 comments
Assignees
Labels
CI/Tests Anything related to CI or testing

Comments

@arno-lunarg
Copy link
Contributor

arno-lunarg commented Oct 24, 2023

Fix NegativeSparseImage.QueueBindSparseMemoryType4, taking PositiveExternalMemorySync.ExternalMemory as a reference.

With the current code, this error occurs on Windows AMD:

[ RUN      ] NegativeSparseImage.QueueBindSparseMemoryType4
C:\j\vz1\Debug64\Vulkan-ValidationLayers\tests\framework\error_monitor.cpp(198): error: Failed
Validation Error: [ VUID-VkBufferCreateInfo-pNext-00920 ] | 
MessageID = 0xa3f6ba5a | 
vkCreateBuffer(): pCreateInfo->pNext<VkExternalMemoryBufferCreateInfo>.handleTypes (VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT) is not reported as compatible by vkGetPhysicalDeviceExternalBufferProperties.
The Vulkan spec states: If the pNext chain includes a VkExternalMemoryBufferCreateInfo structure, its handleTypes member must only contain bits that are also in VkExternalBufferProperties::externalMemoryProperties.compatibleHandleTypes, as returned by vkGetPhysicalDeviceExternalBufferProperties with pExternalBufferInfo->handleType equal to any one of the handle types specified in VkExternalMemoryBufferCreateInfo::handleTypes (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkBufferCreateInfo-pNext-00920)
@arno-lunarg arno-lunarg added Bug Something isn't working CI/Tests Anything related to CI or testing labels Oct 24, 2023
@arno-lunarg arno-lunarg self-assigned this Oct 24, 2023
@spencer-lunarg spencer-lunarg removed the Bug Something isn't working label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/Tests Anything related to CI or testing
Projects
None yet
Development

No branches or pull requests

2 participants