Add more shader skips

This commit is contained in:
rafael-57 2024-08-31 02:23:07 +02:00 committed by GitHub
parent e8e81e44a3
commit 3c2e139b26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -64,9 +64,10 @@ 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, 9> skip_hashes = {0xa509af23, 0x4ca76892, 0xa954e79d, static constexpr std::array<u64, 11> skip_hashes = {0xa509af23, 0x4ca76892, 0xa954e79d,
0x42f2a521, 0x2da7fe60, 0x77d1c63, 0x42f2a521, 0x2da7fe60, 0x1635154c,
0xc0cbc309, 0xff7a6d7c, 0xddfbac23}; 0x8e3f8dc4, 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;