mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +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
|
@ -4050,13 +4050,13 @@ VKRObjectRenderPass::VKRObjectRenderPass(AttachmentInfo_t& attachmentInfo, sint3
|
|||
if (attachmentInfo.colorAttachment[i].isPresent || attachmentInfo.colorAttachment[i].viewObj)
|
||||
{
|
||||
stateHash += attachmentInfo.colorAttachment[i].format + i * 31;
|
||||
stateHash = std::rotl(stateHash, 7);
|
||||
stateHash = std::rotl<uint64>(stateHash, 7);
|
||||
}
|
||||
}
|
||||
if (attachmentInfo.depthAttachment.isPresent || attachmentInfo.depthAttachment.viewObj)
|
||||
{
|
||||
stateHash += attachmentInfo.depthAttachment.format;
|
||||
stateHash = std::rotl(stateHash, 7);
|
||||
stateHash = std::rotl<uint64>(stateHash, 7);
|
||||
}
|
||||
m_hashForPipeline = stateHash;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue