mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-15 08:39:21 +00:00
Open shader source from resource inspector
This commit is contained in:
25 files changed
+224
-15
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user