summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authoryzct12345 <yzct12345@users.noreply.github.com>2022-12-13 02:52:32 +0100
committerLiam <byteslice@airmail.cc>2022-12-13 02:53:05 +0100
commitf6868ae4dd7928a251939069f9be6ff669bc391e (patch)
treeb5a201c59d07251b051588a7a3e109454391d369 /src/video_core/vulkan_common/vulkan_device.h
parentMerge pull request #9398 from liamwhite/fail (diff)
downloadyuzu-f6868ae4dd7928a251939069f9be6ff669bc391e.tar
yuzu-f6868ae4dd7928a251939069f9be6ff669bc391e.tar.gz
yuzu-f6868ae4dd7928a251939069f9be6ff669bc391e.tar.bz2
yuzu-f6868ae4dd7928a251939069f9be6ff669bc391e.tar.lz
yuzu-f6868ae4dd7928a251939069f9be6ff669bc391e.tar.xz
yuzu-f6868ae4dd7928a251939069f9be6ff669bc391e.tar.zst
yuzu-f6868ae4dd7928a251939069f9be6ff669bc391e.zip
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.h')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index db802437c..391b7604c 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -368,6 +368,14 @@ public:
return must_emulate_bgr565;
}
+ u32 GetMaxVertexInputAttributes() const {
+ return max_vertex_input_attributes;
+ }
+
+ u32 GetMaxVertexInputBindings() const {
+ return max_vertex_input_bindings;
+ }
+
private:
/// Checks if the physical device is suitable.
void CheckSuitability(bool requires_swapchain) const;
@@ -467,6 +475,8 @@ private:
bool supports_d24_depth{}; ///< Supports D24 depth buffers.
bool cant_blit_msaa{}; ///< Does not support MSAA<->MSAA blitting.
bool must_emulate_bgr565{}; ///< Emulates BGR565 by swizzling RGB565 format.
+ u32 max_vertex_input_attributes{}; ///< Max vertex input attributes in pipeline
+ u32 max_vertex_input_bindings{}; ///< Max vertex input buffers in pipeline
// Telemetry parameters
std::string vendor_name; ///< Device's driver name.