Skip to content

Clarification regarding externalMemoryFeatures returned by vkGetPhysicalDeviceExternalBufferProperties #2630

@physics-enthusiast

Description

@physics-enthusiast

In a similar vein to the guarantees provided by vkGetDeviceBufferMemoryRequirements, if usage1 and usage2 of type VkBufferUsageFlags are such that the bits set in usage2 are a subset of the bits set in usage1, and they are passed as pExternalBufferInfo->flags to vkGetPhysicalDeviceExternalBufferProperties, assuming all else is identical, is it guaranteed that the pExternalBufferProperties->externalMemoryProperties.externalMemoryFeatures of the latter is a superset of the former? In other words, can an application assume that adding usage bits will not suddenly make it possible to back a buffer with exportable/importable external memory (where it couldn't be before)?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions