mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 20:14:45 +00:00
add logging for shader patches
This commit is contained in:
parent
7fe77e1307
commit
b42be42d58
1 changed files with 2 additions and 0 deletions
|
@ -280,6 +280,7 @@ std::unique_ptr<GraphicsPipeline> PipelineCache::CreateGraphicsPipeline() {
|
|||
if (patch) {
|
||||
spv_code = *patch;
|
||||
patched = true;
|
||||
LOG_INFO(Loader, "Loaded patch for {} shader {:#x}", stage, hash);
|
||||
}
|
||||
}
|
||||
if (Config::dumpShaders() && !patched) {
|
||||
|
@ -330,6 +331,7 @@ std::unique_ptr<ComputePipeline> PipelineCache::CreateComputePipeline() {
|
|||
if (patch) {
|
||||
spv_code = *patch;
|
||||
patched = true;
|
||||
LOG_INFO(Loader, "Loaded patch for computer shader {}", compute_key);
|
||||
}
|
||||
}
|
||||
if (Config::dumpShaders() && !patched) {
|
||||
|
|
Loading…
Add table
Reference in a new issue