remove handling of error that is not documented to be returned by vkAllocateMemory

This commit is contained in:
teoxoy authored and Teodor Tanasoaia committed 2024-08-15 13:56:05 +01:00
1 parent 273c2c4b1a
commit a0c107f7c8
1 file changed
-1
-1
View File
@@ -322,7 +322,6 @@ impl gpu_alloc::MemoryDevice<vk::DeviceMemory> for super::DeviceShared {
Err(vk::Result::ERROR_OUT_OF_HOST_MEMORY) => {
Err(gpu_alloc::OutOfMemory::OutOfHostMemory)
}
Err(vk::Result::ERROR_TOO_MANY_OBJECTS) => panic!("Too many objects"),
Err(err) => panic!("Unexpected Vulkan error: `{err}`"),
}
}