mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-29 09:34:09 +01:00
remove handling of error that is not documented to be returned by vkAllocateMemory
This commit is contained in:
1 parent
273c2c4b1a
commit
a0c107f7c8
1 file changed
-1
@@ -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}`"),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user