summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorLiam <liamwhite@users.noreply.github.com>2022-12-07 03:43:14 +0100
committerLiam <byteslice@airmail.cc>2023-01-05 04:14:01 +0100
commit66ae79de133bfe4d6f02451136aa87aef52efc80 (patch)
tree85347da97ffd6e114e291f2d26a273afa4451742 /src/video_core/vulkan_common/vulkan_device.h
parentMerge pull request #9501 from FernandoS27/yfc-rel-2 (diff)
downloadyuzu-66ae79de133bfe4d6f02451136aa87aef52efc80.tar
yuzu-66ae79de133bfe4d6f02451136aa87aef52efc80.tar.gz
yuzu-66ae79de133bfe4d6f02451136aa87aef52efc80.tar.bz2
yuzu-66ae79de133bfe4d6f02451136aa87aef52efc80.tar.lz
yuzu-66ae79de133bfe4d6f02451136aa87aef52efc80.tar.xz
yuzu-66ae79de133bfe4d6f02451136aa87aef52efc80.tar.zst
yuzu-66ae79de133bfe4d6f02451136aa87aef52efc80.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h5
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 920a8f4e3..6042046e1 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -397,6 +397,10 @@ public:
return must_emulate_bgr565;
}
+ bool HasNullDescriptor() const {
+ return has_null_descriptor;
+ }
+
u32 GetMaxVertexInputAttributes() const {
return max_vertex_input_attributes;
}
@@ -511,6 +515,7 @@ 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.
+ bool has_null_descriptor{}; ///< Has support for null descriptors.
u32 max_vertex_input_attributes{}; ///< Max vertex input attributes in pipeline
u32 max_vertex_input_bindings{}; ///< Max vertex input buffers in pipeline