renderer_vulkan: Fix shader hash type

This commit is contained in:
Vitor Kiguchi
2022-10-19 20:41:18 +03:00
committed by GPUCode
parent 01e2b6cdaa
commit 52b1fc4889

View File

@@ -158,7 +158,7 @@ void PipelineCache::SaveDiskCache() {
void PipelineCache::BindPipeline(const PipelineInfo& info) {
ApplyDynamic(info);
u64 shader_hash = 0;
std::size_t shader_hash = 0;
for (u32 i = 0; i < MAX_SHADER_STAGES; i++) {
shader_hash = Common::HashCombine(shader_hash, shader_hashes[i]);
}