mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-10 17:01:17 +12:00
No type inference when calling std::rotl and std::rotr.
This commit is contained in:
parent
53e3ed946e
commit
e2eedc7b2c
11 changed files with 54 additions and 54 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