From f72217ac9e6c3bfe80af668a1221b4db7edb5b2d Mon Sep 17 00:00:00 2001 From: Alan Tse Date: Fri, 4 Oct 2024 02:27:29 -0700 Subject: [PATCH] docs: add filename for shader events (#582) --- src/State.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/State.cpp b/src/State.cpp index f223f6a27..e6f8ee3d9 100644 --- a/src/State.cpp +++ b/src/State.cpp @@ -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(); }