mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-21 02:45:00 +00:00
Added vulkanGetSurfaceCapabilities
This commit is contained in:
parent
faf9a03437
commit
b68f018fad
3 changed files with 39 additions and 1 deletions
|
@ -16,7 +16,13 @@ struct VulkanExt {
|
|||
std::vector<VkLayerProperties> available_layers;
|
||||
};
|
||||
|
||||
struct VulkanSurfaceCapabilities {};
|
||||
struct VulkanSurfaceCapabilities {
|
||||
VkSurfaceCapabilitiesKHR capabilities{};
|
||||
std::vector<VkSurfaceFormatKHR> formats;
|
||||
std::vector<VkPresentModeKHR> present_modes;
|
||||
bool is_format_srgb_bgra32 = false;
|
||||
bool is_format_unorm_bgra32 = false;
|
||||
};
|
||||
|
||||
struct VulkanQueues {
|
||||
u32 family_count = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue