mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-04 05:41:06 +00:00
Ignore a couple of DXBC chunks without processing or warning
This commit is contained in:
@@ -1868,6 +1868,14 @@ DXBCContainer::DXBCContainer(const bytebuf &ByteCode, const rdcstr &debugInfoPat
|
||||
{
|
||||
// root signature
|
||||
}
|
||||
else if(*fourcc == FOURCC_PRIV)
|
||||
{
|
||||
// private data
|
||||
}
|
||||
else if(*fourcc == FOURCC_VERS)
|
||||
{
|
||||
// compiler version
|
||||
}
|
||||
else if(*fourcc == FOURCC_RDAT)
|
||||
{
|
||||
m_RDATOffset = chunkContents - data;
|
||||
|
||||
@@ -175,6 +175,7 @@ static const uint32_t FOURCC_SFI0 = MAKE_FOURCC('S', 'F', 'I', '0');
|
||||
static const uint32_t FOURCC_PSV0 = MAKE_FOURCC('P', 'S', 'V', '0');
|
||||
static const uint32_t FOURCC_RTS0 = MAKE_FOURCC('R', 'T', 'S', '0');
|
||||
static const uint32_t FOURCC_RDAT = MAKE_FOURCC('R', 'D', 'A', 'T');
|
||||
static const uint32_t FOURCC_VERS = MAKE_FOURCC('V', 'E', 'R', 'S');
|
||||
|
||||
struct RDEFHeader;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user