Ignore a couple of DXBC chunks without processing or warning

This commit is contained in:
baldurk
2024-12-05 13:31:23 +00:00
parent a26e599c02
commit e2f67eb9f6
2 changed files with 9 additions and 0 deletions
@@ -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;