devtools: add copy name to shader list

This commit is contained in:
Vinicius Rangel 2024-12-26 03:27:49 -03:00
parent 0e2a175633
commit 5c48c77ad4
No known key found for this signature in database
GPG Key ID: A5B154D904B761D9

View File

@ -112,6 +112,10 @@ bool ShaderList::Selection::DrawShader(DebugStateType::ShaderDump& value) {
ReloadShader(value);
}
}
SameLine();
if (Button("Copy name")) {
SetClipboardText(value.name.c_str());
}
if (value.is_patched) {
if (BeginCombo("Shader type", showing_bin ? "SPIRV" : "GLSL",