Device type string conversion function
This commit is contained in:
parent
a09de3b953
commit
912f38455c
2 changed files with 18 additions and 1 deletions
|
|
@ -60,9 +60,12 @@
|
|||
|
||||
namespace vkTools
|
||||
{
|
||||
// Return string representation of a vulkan error string
|
||||
/** @brief Returns an error code as a string */
|
||||
std::string errorString(VkResult errorCode);
|
||||
|
||||
/** @brief Returns the device type as a string */
|
||||
std::string physicalDeviceTypeString(VkPhysicalDeviceType type);
|
||||
|
||||
// Selected a suitable supported depth format starting with 32 bit down to 16 bit
|
||||
// Returns false if none of the depth formats in the list is supported by the device
|
||||
VkBool32 getSupportedDepthFormat(VkPhysicalDevice physicalDevice, VkFormat *depthFormat);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue