Skip to content

Commit

Permalink
[GPU, Vulkan] Fix typo in non AMD64 code
Browse files Browse the repository at this point in the history
* `copy_and_swap_16_unaligned` -> `copy_cmp_swap_16_unaligned`.
  • Loading branch information
JoelLinn authored and gibbed committed Jan 2, 2022
1 parent 59cce10 commit 4f258b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xenia/gpu/vulkan/buffer_cache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void copy_cmp_swap_32_unaligned(void* dest_ptr, const void* src_ptr,
}
}
#else
void copy_and_swap_16_unaligned(void* dest_ptr, const void* src_ptr,
void copy_cmp_swap_16_unaligned(void* dest_ptr, const void* src_ptr,
uint16_t cmp_value, size_t count) {
auto dest = reinterpret_cast<uint16_t*>(dest_ptr);
auto src = reinterpret_cast<const uint16_t*>(src_ptr);
Expand All @@ -80,7 +80,7 @@ void copy_and_swap_16_unaligned(void* dest_ptr, const void* src_ptr,
}
}

void copy_and_swap_32_unaligned(void* dest_ptr, const void* src_ptr,
void copy_cmp_swap_32_unaligned(void* dest_ptr, const void* src_ptr,
uint32_t cmp_value, size_t count) {
auto dest = reinterpret_cast<uint32_t*>(dest_ptr);
auto src = reinterpret_cast<const uint32_t*>(src_ptr);
Expand Down

0 comments on commit 4f258b2

Please sign in to comment.