Open shader source from resource inspector

This commit is contained in:
baldurk committed 2017-11-22 19:11:28 +00:00
1 parent c084778e0a
commit 5564e8b263
25 files changed
+224 -15

No files matched your search

+10
View File
@@ -318,6 +318,16 @@ rdcarray<DebugMessage> ReplayController::GetDebugMessages()
return m_pDevice->GetDebugMessages();
}
rdcarray<ShaderEntryPoint> ReplayController::GetShaderEntryPoints(ResourceId shader)
{
return m_pDevice->GetShaderEntryPoints(m_pDevice->GetLiveID(shader));
}
ShaderReflection *ReplayController::GetShader(ResourceId shader, ShaderEntryPoint entry)
{
return m_pDevice->GetShader(m_pDevice->GetLiveID(shader), entry.name);
}
rdcarray<EventUsage> ReplayController::GetUsage(ResourceId id)
{
id = m_pDevice->GetLiveID(id);