mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-16 23:10:54 +00:00
Ignore DXIL STAT chunk since we decode bytecode always
This commit is contained in:
@@ -1107,9 +1107,12 @@ DXBCContainer::DXBCContainer(const void *ByteCode, size_t ByteCodeLength)
|
||||
{
|
||||
RDCEraseEl(m_ShaderStats);
|
||||
m_ShaderStats.version = ShaderStatistics::STATS_DX12;
|
||||
/*
|
||||
DXIL::Program prog(chunkContents, *chunkSize);
|
||||
*/
|
||||
|
||||
// this stats chunk is a whole program, just with the actual function definition removed
|
||||
// (and any related debug metadata).
|
||||
// Since we parse the bytecode regardless, there's no point in parsing this as well as a
|
||||
// 'faster' way of getting reflection information
|
||||
/* DXIL::Program prog(chunkContents, *chunkSize); */
|
||||
}
|
||||
else if(*chunkSize == STATSizeDX10)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user