diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-11 07:50:30 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:27 +0200 |
commit | 479ca00071ccaab6ca9ac28daf375e1ed15dc447 (patch) | |
tree | 2054d994b73a6b1862099a95b069914a347e5e46 /src/video_core/vulkan_common/vulkan_device.h | |
parent | spirv: Move phi node patching to a separate function (diff) | |
download | yuzu-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 'src/video_core/vulkan_common/vulkan_device.h')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 3 |
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; |