Function Prototype

vkGetDeviceAccelerationStructureCompatibilityKHR

Check if a serialized acceleration structure is compatible with the current device

To check if a serialized acceleration structure is compatible with the current device call:

void vkGetDeviceAccelerationStructureCompatibilityKHR(
    VkDevice device,
    const VkAccelerationStructureVersionInfoKHR* pVersionInfo,
    VkAccelerationStructureCompatibilityKHR* pCompatibility);