summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-03-08 02:03:24 +0100
committerLiam <byteslice@airmail.cc>2023-03-08 02:05:19 +0100
commitba4213d956ff138ec6392dc4145970e8a3cd1ba6 (patch)
tree3454be719887e09c5745887cab59c89e11dc28ef /src/video_core/renderer_vulkan
parentMerge pull request #9889 from Morph1984/time-is-ticking (diff)
downloadyuzu-ba4213d956ff138ec6392dc4145970e8a3cd1ba6.tar
yuzu-ba4213d956ff138ec6392dc4145970e8a3cd1ba6.tar.gz
yuzu-ba4213d956ff138ec6392dc4145970e8a3cd1ba6.tar.bz2
yuzu-ba4213d956ff138ec6392dc4145970e8a3cd1ba6.tar.lz
yuzu-ba4213d956ff138ec6392dc4145970e8a3cd1ba6.tar.xz
yuzu-ba4213d956ff138ec6392dc4145970e8a3cd1ba6.tar.zst
yuzu-ba4213d956ff138ec6392dc4145970e8a3cd1ba6.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_buffer_cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_buffer_cache.cpp b/src/video_core/renderer_vulkan/vk_buffer_cache.cpp
index b0153a502..9cbcb3c8f 100644
--- a/src/video_core/renderer_vulkan/vk_buffer_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_buffer_cache.cpp
@@ -238,7 +238,7 @@ private:
return indices;
}
- void MakeAndUpdateIndices(u8* staging_data, size_t quad_size, u32 quad, u32 first) {
+ void MakeAndUpdateIndices(u8* staging_data, size_t quad_size, u32 quad, u32 first) override {
switch (index_type) {
case VK_INDEX_TYPE_UINT8_EXT:
std::memcpy(staging_data, MakeIndices<u8>(quad, first).data(), quad_size);
@@ -278,7 +278,7 @@ private:
return indices;
}
- void MakeAndUpdateIndices(u8* staging_data, size_t quad_size, u32 quad, u32 first) {
+ void MakeAndUpdateIndices(u8* staging_data, size_t quad_size, u32 quad, u32 first) override {
switch (index_type) {
case VK_INDEX_TYPE_UINT8_EXT:
std::memcpy(staging_data, MakeIndices<u8>(quad, first).data(), quad_size);