diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-09-13 23:20:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 23:20:07 +0200 |
commit | fde9b84b2123ba2e018e985024bf8c4d556798f0 (patch) | |
tree | 3c5d270419105b9d30114c344e05c4f7aeda7947 /src/video_core/vulkan_common/vulkan_device.h | |
parent | Merge pull request #7001 from ameerj/wario-fix (diff) | |
parent | Vulkan/Descriptors: Increase sets per pool on AMFD propietary driver. (diff) | |
download | yuzu-fde9b84b2123ba2e018e985024bf8c4d556798f0.tar yuzu-fde9b84b2123ba2e018e985024bf8c4d556798f0.tar.gz yuzu-fde9b84b2123ba2e018e985024bf8c4d556798f0.tar.bz2 yuzu-fde9b84b2123ba2e018e985024bf8c4d556798f0.tar.lz yuzu-fde9b84b2123ba2e018e985024bf8c4d556798f0.tar.xz yuzu-fde9b84b2123ba2e018e985024bf8c4d556798f0.tar.zst yuzu-fde9b84b2123ba2e018e985024bf8c4d556798f0.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.h')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index 5599c38c5..bc180a32a 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -323,6 +323,10 @@ public: return device_access_memory; } + u32 GetSetsPerPool() const { + return sets_per_pool; + } + private: /// Checks if the physical device is suitable. void CheckSuitability(bool requires_swapchain) const; @@ -376,6 +380,7 @@ private: VkShaderStageFlags guest_warp_stages{}; ///< Stages where the guest warp size can be forced. u64 device_access_memory{}; ///< Total size of device local memory in bytes. u32 max_push_descriptors{}; ///< Maximum number of push descriptors + u32 sets_per_pool{}; ///< Sets per Description Pool bool is_optimal_astc_supported{}; ///< Support for native ASTC. bool is_float16_supported{}; ///< Support for float16 arithmetic. bool is_int8_supported{}; ///< Support for int8 arithmetic. |