mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Move DXBC shader friendly naming logic into C++ side code
* This makes more sense and lets us share it between Qt and C# UIs.
This commit is contained in:
@@ -234,6 +234,8 @@ bool PersistantConfig::Load(const QString &filename)
|
||||
SetConfigSetting(key, ConfigSettings[key]);
|
||||
}
|
||||
|
||||
RENDERDOC_SetConfigSetting("Disassembly_FriendlyNaming", ShaderViewer_FriendlyNaming ? "1" : "0");
|
||||
|
||||
// localhost should always be available as a remote host
|
||||
bool foundLocalhost = false;
|
||||
|
||||
@@ -262,6 +264,8 @@ bool PersistantConfig::Save()
|
||||
for(RemoteHost *host : RemoteHosts)
|
||||
RemoteHostList.push_back(*host);
|
||||
|
||||
RENDERDOC_SetConfigSetting("Disassembly_FriendlyNaming", ShaderViewer_FriendlyNaming ? "1" : "0");
|
||||
|
||||
return Serialize(m_Filename);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user