mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-12 09:48:30 +12:00
Misc. Linux improvements and bug fixes. (#121)
Co-authored-by: Tom Lally <tomlally@protonmail.com>
This commit is contained in:
parent
b8d4cf5b29
commit
d3a7b3b5a6
23 changed files with 101 additions and 104 deletions
|
@ -108,12 +108,12 @@ uint64 VulkanRenderer::copySurface_getPipelineStateHash(VkCopySurfaceState_t& st
|
|||
uint64 h = 0;
|
||||
|
||||
h += (uintptr_t)state.destinationTexture->GetFormat();
|
||||
h = std::rotr(h, 7);
|
||||
h = std::rotr<uint64>(h, 7);
|
||||
|
||||
h += state.sourceTexture->isDepth ? 0x1111ull : 0;
|
||||
h = std::rotr(h, 7);
|
||||
h = std::rotr<uint64>(h, 7);
|
||||
h += state.destinationTexture->isDepth ? 0x1112ull : 0;
|
||||
h = std::rotr(h, 7);
|
||||
h = std::rotr<uint64>(h, 7);
|
||||
|
||||
return h;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue