mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-06 15:01:18 +12:00
Replaced _rotr with std::rotr
This commit is contained in:
parent
3b5eb49469
commit
6408cfdd4b
5 changed files with 7 additions and 11 deletions
|
@ -108,12 +108,12 @@ uint64 VulkanRenderer::copySurface_getPipelineStateHash(VkCopySurfaceState_t& st
|
|||
uint64 h = 0;
|
||||
|
||||
h += (uintptr_t)state.destinationTexture->GetFormat();
|
||||
h = _rotr64(h, 7);
|
||||
h = std::rotr(h, 7);
|
||||
|
||||
h += state.sourceTexture->isDepth ? 0x1111ull : 0;
|
||||
h = _rotr64(h, 7);
|
||||
h = std::rotr(h, 7);
|
||||
h += state.destinationTexture->isDepth ? 0x1112ull : 0;
|
||||
h = _rotr64(h, 7);
|
||||
h = std::rotr(h, 7);
|
||||
|
||||
return h;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue