Skip to content

Commit

Permalink
Fixing LumGarden Crash
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolix29 authored Sep 26, 2024
1 parent 306f716 commit 02ce038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ const ComputePipeline* PipelineCache::GetComputePipeline() {
}

bool ShouldSkipShader(u64 shader_hash, const char* shader_type) {
static constexpr std::array<u64, 13> skip_hashes = {0x4899010a, 0xc8854a11, 0xaa9d023d, 0x17a64a21, 0x94ec4dfb, 0xbddb8fc7, 0x733dae6f,
0x9a987165, 0x70ffb249, 0x34e9da69, 0xbfed1ef4, 0x6faab5f9, 0x125a83c1};
static constexpr std::array<u64, 14> skip_hashes = {0x4899010a, 0xc8854a11, 0xaa9d023d, 0x17a64a21, 0x94ec4dfb, 0xbddb8fc7, 0x733dae6f,
0x9a987165, 0x70ffb249, 0x34e9da69, 0xbfed1ef4, 0x6faab5f9, 0x125a83c1, 0x3f1b9738};
if (std::ranges::contains(skip_hashes, shader_hash)) {
LOG_WARNING(Render_Vulkan, "Skipped {} shader hash {:#x}.", shader_type, shader_hash);
return true;
Expand Down

0 comments on commit 02ce038

Please sign in to comment.