diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index 79afa5c62a..0539316e65 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -225,27 +225,6 @@ const ComputePipeline* PipelineCache::GetComputePipeline() { return it->second; } -bool ShouldSkipShader(u64 shader_hash, const char* shader_type) { - static std::vector skip_hashes = { - // 0xbc234799 /* passthrough */, - // 0x8453cd1c /* passthrough */, - // 0xd67db0ef /* passthrough */, - // 0x34121ac6 /* passthrough*/, - // 0xa26750c1 /* passthrough, warp */, - // 0xbb88db5f /* passthrough */, - // 0x90c6fb05 /* passthrough */, - // 0x9fd272d7 /* forbidden woods (not PS) */, - // 0x2807dd6c /* forbidden woods, down elevator (not PS) */, - // 0x627ac5b9 /* ayyylmao*, passthrough */, - // // 0xb5fb5174 /* rom (not PS) */, - }; - if (std::ranges::contains(skip_hashes, shader_hash)) { - LOG_WARNING(Render_Vulkan, "Skipped {} shader hash {:#x}.", shader_type, shader_hash); - return true; - } - return false; -} - bool PipelineCache::RefreshGraphicsKey() { std::memset(&graphics_key, 0, sizeof(GraphicsPipelineKey)); @@ -350,10 +329,6 @@ bool PipelineCache::RefreshGraphicsKey() { return false; } - if (ShouldSkipShader(bininfo->shader_hash, "graphics")) { - return false; - } - auto params = Liverpool::GetParams(*pgm); std::tie(infos[stage_out_idx], modules[stage_out_idx], key.stage_hashes[stage_out_idx]) = GetProgram(stage_in, stage_out, params, binding);