Function Prototype
vkGetDeviceMicromapCompatibilityEXT
Check if a serialized micromap is compatible with the current device
To check if a serialized micromap is compatible with the current device call:
void vkGetDeviceMicromapCompatibilityEXT(
VkDevice device,
const VkMicromapVersionInfoEXT* pVersionInfo,
VkAccelerationStructureCompatibilityKHR* pCompatibility);
deviceis the device to check the version against.pVersionInfois a pointer to a VkMicromapVersionInfoEXT structure specifying version information to check against the device.pCompatibilityis a pointer to a VkAccelerationStructureCompatibilityKHR value in which compatibility information is returned.
Valid Usage
VUID-vkGetDeviceMicromapCompatibilityEXT-micromap-07551
The micromap feature must be enabled
Valid Usage (Implicit)
VUID-vkGetDeviceMicromapCompatibilityEXT-device-parameter
device must be a valid VkDevice handle
VUID-vkGetDeviceMicromapCompatibilityEXT-pVersionInfo-parameter
pVersionInfo must be a valid pointer to a valid VkMicromapVersionInfoEXT structure
VUID-vkGetDeviceMicromapCompatibilityEXT-pCompatibility-parameter
pCompatibility must be a valid pointer to a VkAccelerationStructureCompatibilityKHR value