summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-11 07:50:30 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:27 +0200
commit479ca00071ccaab6ca9ac28daf375e1ed15dc447 (patch)
tree2054d994b73a6b1862099a95b069914a347e5e46 /src/video_core/vulkan_common/vulkan_device.h
parentspirv: Move phi node patching to a separate function (diff)
downloadyuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.tar
yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.tar.gz
yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.tar.bz2
yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.tar.lz
yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.tar.xz
yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.tar.zst
yuzu-479ca00071ccaab6ca9ac28daf375e1ed15dc447.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index ac2311e7e..adf62a707 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -7,6 +7,7 @@
#include <string>
#include <string_view>
#include <unordered_map>
+#include <span>
#include <vector>
#include "common/common_types.h"
@@ -43,7 +44,7 @@ public:
void ReportLoss() const;
/// Reports a shader to Nsight Aftermath.
- void SaveShader(const std::vector<u32>& spirv) const;
+ void SaveShader(std::span<const u32> spirv) const;
/// Returns the name of the VkDriverId reported from Vulkan.
std::string GetDriverName() const;