Skip to content

Commit

Permalink
docs: add filename for shader events (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse authored Oct 4, 2024
1 parent e25e303 commit f72217a
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 f72217a

Please sign in to comment.