Reduce parameters that need to be passed for viewing shaders

This commit is contained in:
baldurk
2017-11-22 19:11:27 +00:00
parent 38acc56084
commit 602511bf33
21 changed files with 79 additions and 67 deletions
@@ -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";
}