Skip to content

Commit

Permalink
Include viewMask and correlationMask in RenderPassBuilder hash
Browse files Browse the repository at this point in the history
Summary: Include it in the hash for multiview reasons

Reviewed By: EricGriffith, corporateshark

Differential Revision: D49943940

fbshipit-source-id: bf03648b55627005d7d0779eada029e0e6ab1462
  • Loading branch information
Shayan Javed authored and facebook-github-bot committed Oct 5, 2023
1 parent b987f4e commit d24d1c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/igl/vulkan/VulkanRenderPassBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ uint64_t VulkanRenderPassBuilder::HashFunction::operator()(
hash ^= std::hash<uint32_t>()(builder.refDepth_.layout);
hash ^= std::hash<uint32_t>()(builder.refDepthResolve_.attachment);
hash ^= std::hash<uint32_t>()(builder.refDepthResolve_.layout);
hash ^= std::hash<uint32_t>()(builder.viewMask_);
hash ^= std::hash<uint32_t>()(builder.correlationMask_);
return hash;
}

Expand Down

0 comments on commit d24d1c1

Please sign in to comment.