Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
baggins183 committed Nov 22, 2024
1 parent f3dfc3c commit e94148c
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,27 +225,6 @@ const ComputePipeline* PipelineCache::GetComputePipeline() {
return it->second;
}

bool ShouldSkipShader(u64 shader_hash, const char* shader_type) {
static std::vector<u64> 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));

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit e94148c

Please sign in to comment.