summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-28 20:51:49 +0200
committerGitHub <noreply@github.com>2021-06-28 20:51:49 +0200
commitec68cba44032c4ea1ef3d1de4aecaefc693f4a12 (patch)
tree48fcef18920efbfedd88fe7d79cd7bbbbcce56d8 /src/video_core/vulkan_common/vulkan_device.h
parentMerge pull request #6535 from ameerj/insert-fancy-name (diff)
parentgl_device: Expand on Mesa driver names (diff)
downloadyuzu-ec68cba44032c4ea1ef3d1de4aecaefc693f4a12.tar
yuzu-ec68cba44032c4ea1ef3d1de4aecaefc693f4a12.tar.gz
yuzu-ec68cba44032c4ea1ef3d1de4aecaefc693f4a12.tar.bz2
yuzu-ec68cba44032c4ea1ef3d1de4aecaefc693f4a12.tar.lz
yuzu-ec68cba44032c4ea1ef3d1de4aecaefc693f4a12.tar.xz
yuzu-ec68cba44032c4ea1ef3d1de4aecaefc693f4a12.tar.zst
yuzu-ec68cba44032c4ea1ef3d1de4aecaefc693f4a12.zip
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.h')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index 88b298196..96c0f8c60 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -45,6 +45,9 @@ public:
/// Reports a shader to Nsight Aftermath.
void SaveShader(const std::vector<u32>& spirv) const;
+ /// Returns the name of the VkDriverId reported from Vulkan.
+ std::string GetDriverName() const;
+
/// Returns the dispatch loader with direct function pointers of the device.
const vk::DeviceDispatch& GetDispatchLoader() const {
return dld;