Skip to content

Commit

Permalink
Fixed Cutscenes Going White cause of two shaders skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolix29 committed Dec 27, 2024
1 parent 76fca7d commit 01f57c8
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 @@ -215,8 +215,8 @@ PipelineCache::PipelineCache(const Instance& instance_, Scheduler& scheduler_,
}

bool ShouldSkipShader(u64 shader_hash, const char* shader_type) {
static std::vector<u64> skip_hashes = {0xbddb8fc7, 0x9a987165, 0xbfed1ef4, 0x6faab5f9,
0x125a83c1, 0x8e3f8dc4, 0xfefebf9f};
static std::vector<u64> skip_hashes = {0xbddb8fc7, 0x9a987165, 0xbfed1ef4,
0x8e3f8dc4, 0xfefebf9f};
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 01f57c8

Please sign in to comment.