No type inference when calling std::rotl and std::rotr.

This commit is contained in:
Tom Lally 2022-09-01 19:01:47 +01:00
parent 53e3ed946e
commit e2eedc7b2c
11 changed files with 54 additions and 54 deletions

View file

@ -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;