mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 15:36:33 +00:00
Reduce parameters that need to be passed for viewing shaders
This commit is contained in:
@@ -492,7 +492,4 @@ void WrappedID3D12PipelineState::ShaderEntry::BuildReflection()
|
||||
|
||||
MakeShaderReflection(m_DXBCFile, &m_Details, &m_Mapping);
|
||||
m_Details.ID = GetResourceID();
|
||||
m_Details.EntryPoint = m_DXBCFile->m_DebugInfo ? m_DXBCFile->m_DebugInfo->GetEntryFunction() : "";
|
||||
if(m_Details.EntryPoint.empty())
|
||||
m_Details.EntryPoint = "main";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user