mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 10:56:58 +02:00
graphics: migrate Vulkan backend to Vulkan-Hpp
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#include "graphics/host_gpu/vulkanCommon.h"
|
||||
|
||||
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE
|
||||
|
||||
namespace Libs::Graphics {
|
||||
|
||||
std::string VulkanToString(vk::Result value) {
|
||||
return vk::to_string(value);
|
||||
}
|
||||
|
||||
std::string VulkanToString(vk::Format value) {
|
||||
return vk::to_string(value);
|
||||
}
|
||||
|
||||
std::string VulkanToString(vk::ImageLayout value) {
|
||||
return vk::to_string(value);
|
||||
}
|
||||
|
||||
std::string VulkanToString(vk::QueueFlags value) {
|
||||
return vk::to_string(value);
|
||||
}
|
||||
|
||||
} // namespace Libs::Graphics
|
||||
Reference in New Issue
Block a user