Skip to content

Commit

Permalink
docs: add filename for shader events
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Oct 2, 2024
1 parent 307634f commit e8725af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/State.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void State::Draw()
}

if (IsDeveloperMode()) {
BeginPerfEvent(std::format("Draw: CS {}::{:x}", magic_enum::enum_name(currentShader->shaderType.get()), currentPixelDescriptor));
BeginPerfEvent(std::format("Draw: CS {}::{:x}::{}", magic_enum::enum_name(currentShader->shaderType.get()), currentPixelDescriptor, currentShader->fxpFilename));
SetPerfMarker(std::format("Defines: {}", SIE::ShaderCache::GetDefinesString(*currentShader, currentPixelDescriptor)));
EndPerfEvent();
}
Expand Down

0 comments on commit e8725af

Please sign in to comment.