diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-11 02:50:30 -0300 |
|---|---|---|
| committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:27 -0400 |
| commit | 479ca00071ccaab6ca9ac28daf375e1ed15dc447 (patch) | |
| tree | 2054d994b73a6b1862099a95b069914a347e5e46 /src/video_core/vulkan_common/vulkan_device.h | |
| parent | 106764a6d51566b050dfe7124f82cf9a4de468c1 (diff) | |
nsight_aftermath_tracker: Report used shaders to Nsight Aftermath
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; |
