Update vk_pipeline_cache.cpp

This commit is contained in:
rafael-57 2024-08-31 00:53:05 +02:00 committed by GitHub
parent 654e43c8f3
commit da7bd86ee5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -64,7 +64,9 @@ const ComputePipeline* PipelineCache::GetComputePipeline() {
} }
bool ShouldSkipShader(u64 shader_hash, const char* shader_type) { bool ShouldSkipShader(u64 shader_hash, const char* shader_type) {
static constexpr std::array<u64, 5> skip_hashes = {0xa509af23, 0x4ca76892, 0xa954e79d, 0x42f2a521, 0x2da7fe60}; static constexpr std::array<u64, 9> skip_hashes = {0xa509af23, 0x4ca76892, 0xa954e79d,
0x42f2a521, 0x2da7fe60, 0x77d1c63,
0xc0cbc309, 0xff7a6d7c, 0xddfbac23};
if (std::ranges::contains(skip_hashes, shader_hash)) { if (std::ranges::contains(skip_hashes, shader_hash)) {
LOG_WARNING(Render_Vulkan, "Skipped {} shader hash {:#x}.", shader_type, shader_hash); LOG_WARNING(Render_Vulkan, "Skipped {} shader hash {:#x}.", shader_type, shader_hash);
return true; return true;