mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 15:06:32 +00:00
Rename dxbc_inspect.* to dxbc_container.*, and DXBCFile -> DXBCContainer
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user