Ignore RDAT chunk

This commit is contained in:
baldurk
2021-09-08 18:28:11 +01:00
parent 5471bf2519
commit 0af73f58d3
@@ -272,6 +272,7 @@ static const uint32_t FOURCC_HASH = MAKE_FOURCC('H', 'A', 'S', 'H');
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');
ShaderBuiltin GetSystemValue(SVSemantic systemValue)
{
@@ -1488,6 +1489,10 @@ DXBCContainer::DXBCContainer(const bytebuf &ByteCode, const rdcstr &debugInfoPat
{
// root signature
}
else if(*fourcc == FOURCC_RDAT)
{
// runtime data
}
else if(*fourcc == FOURCC_PSV0)
{
// this chunk contains some information we could use for reflection but it doesn't contain