use XXHash3 instead of sha1-le in RenderPassManager
This commit is contained in:
parent
e3dccd6b06
commit
c9855d7dee
@ -6,6 +6,7 @@
|
||||
|
||||
VK_NAMESPACE_BEGIN
|
||||
using RenderPassHASHCode=util::HashCodeXXH3_128;
|
||||
#define CreateRenderPassHash util::CreateXXH3_128Hash
|
||||
|
||||
class RenderPassManager:public GraphModule
|
||||
{
|
||||
|
@ -188,7 +188,7 @@ bool RenderPassManager::Init()
|
||||
{
|
||||
pipeline_cache=GetDeviceAttribute()->pipeline_cache;
|
||||
|
||||
hash=util::CreateSHA1LEHash();
|
||||
hash=CreateRenderPassHash();
|
||||
|
||||
return(true);
|
||||
}
|
||||
@ -252,7 +252,7 @@ namespace
|
||||
|
||||
void HashRenderPass(RenderPassHASHCode *code,const RenderbufferInfo *rbi,const uint8 subpass_count)
|
||||
{
|
||||
util::Hash *hash=util::CreateSHA1LEHash();
|
||||
util::Hash *hash=CreateRenderPassHash();
|
||||
|
||||
hash->Init();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user