Skip to content

Commit

Permalink
Change skipped shaders (thanks DMugetsu)
Browse files Browse the repository at this point in the history
Most skipped shaders are not needed now, and DMugetsu found shaders skips that workaround the black decals on character, and crash on dying in chalices etc
  • Loading branch information
Foul-Tarnished authored Sep 12, 2024
1 parent 558a6b7 commit fa1ce81
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 @@ -188,8 +188,8 @@ const ComputePipeline* PipelineCache::GetComputePipeline() {
}

bool ShouldSkipShader(u64 shader_hash, const char* shader_type) {
static constexpr std::array<u64, 5> skip_hashes = {0xc0cbc309, 0x77d1c63, 0xff7a6d7c,
0xddfbac23, 0x896e7242};
static constexpr std::array<u64, 4> skip_hashes = {0xaa9d023d, 0x17a64a21, 0x94ec4dfb,
0xc8854a11};
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 fa1ce81

Please sign in to comment.