Rename dxbc_inspect.* to dxbc_container.*, and DXBCFile -> DXBCContainer

This commit is contained in:
baldurk
2019-10-18 20:57:35 +01:00
parent 2a1baae8a9
commit cd020007d2
30 changed files with 97 additions and 105 deletions
+4 -4
View File
@@ -36,13 +36,13 @@ const GUID RENDERDOC_ID3D12ShaderGUID_ShaderDebugMagicValue = RENDERDOC_ShaderDe
void WrappedID3D12Shader::TryReplaceOriginalByteCode()
{
if(!DXBC::DXBCFile::CheckForDebugInfo((const void *)&m_Bytecode[0], m_Bytecode.size()))
if(!DXBC::DXBCContainer::CheckForDebugInfo((const void *)&m_Bytecode[0], m_Bytecode.size()))
{
std::string originalPath = m_DebugInfoPath;
if(originalPath.empty())
originalPath =
DXBC::DXBCFile::GetDebugBinaryPath((const void *)&m_Bytecode[0], m_Bytecode.size());
DXBC::DXBCContainer::GetDebugBinaryPath((const void *)&m_Bytecode[0], m_Bytecode.size());
if(!originalPath.empty())
{
@@ -128,8 +128,8 @@ void WrappedID3D12Shader::TryReplaceOriginalByteCode()
memcpy(&originalBytecode[0], &decompressed[0], originalBytecode.size());
}
if(DXBC::DXBCFile::CheckForDebugInfo((const void *)&originalBytecode[0],
originalBytecode.size()))
if(DXBC::DXBCContainer::CheckForDebugInfo((const void *)&originalBytecode[0],
originalBytecode.size()))
{
m_Bytecode.swap(originalBytecode);
}