Skip to content

Commit

Permalink
Last guardian
Browse files Browse the repository at this point in the history
  • Loading branch information
Xcedf committed Nov 19, 2024
1 parent b3a580f commit 77838ff
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/video_core/renderer_vulkan/vk_compute_pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ bool ComputePipeline::BindResources(VideoCore::BufferCache& buffer_cache,
}
} else {
if (texture_cache.IsMeta(address)) {
LOG_WARNING(Render_Vulkan, "Unexpected metadata read by a CS shader (buffer)");
LOG_TRACE(Render_Vulkan, "Unexpected metadata read by a CS shader (buffer)");
}
}
return false;
Expand Down
14 changes: 10 additions & 4 deletions src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,18 @@ bool PipelineCache::RefreshGraphicsKey() {
//if (bininfo->shader_hash == 0xb585d534 || bininfo->shader_hash == 0x29c851e0) {
// return false;
//}

u64 skip_hash[8] = {0x394ef85fcecf26dd, 0xa12c240a, 0xdd2e7072, 0xc5f6bede,
0x232e176d, 0x595a3faa, 0x9c9190e, 0x3e70b576};
for (u16 i = 0; i < 8; i++) {
if (bininfo->shader_hash == skip_hash[i]) {
return false;
}
}
// Skipping this fragment shader to workaround a white screen issue in God of War III
// Remastered.
if (bininfo->shader_hash == 0x394ef85fcecf26dd) {
return false;
}
//if (bininfo->shader_hash == 0x394ef85fcecf26dd) {
// return false;
//}

auto params = Liverpool::GetParams(*pgm);
std::tie(infos[stage_out_idx], modules[stage_out_idx], key.stage_hashes[stage_out_idx]) =
Expand Down

0 comments on commit 77838ff

Please sign in to comment.