mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 17:36:36 +00:00
Ignore uselist block in DXIL container
This commit is contained in:
@@ -67,6 +67,7 @@ enum class KnownBlocks : uint32_t
|
||||
METADATA_BLOCK = 15,
|
||||
METADATA_ATTACHMENT = 16,
|
||||
TYPE_BLOCK = 17,
|
||||
USELIST_BLOCK = 18,
|
||||
};
|
||||
|
||||
enum class ModuleRecord : uint32_t
|
||||
@@ -1347,6 +1348,10 @@ Program::Program(const byte *bytes, size_t length)
|
||||
f.instructions[(size_t)meta.ops[0]].attachedMeta.swap(attach);
|
||||
}
|
||||
}
|
||||
else if(IS_KNOWN(funcChild.id, KnownBlocks::USELIST_BLOCK))
|
||||
{
|
||||
RDCDEBUG("Ignoring uselist block");
|
||||
}
|
||||
else
|
||||
{
|
||||
RDCERR("Unexpected subblock %u in FUNCTION_BLOCK", funcChild.id);
|
||||
|
||||
Reference in New Issue
Block a user