DXBC: Added missing chunk. Fixed #536.

This commit is contained in:
Branimir Karadžić 2015-10-24 11:24:08 -07:00
parent 4fa238673c
commit 0cfc61b8ac

View file

@ -1785,13 +1785,15 @@ namespace bgfx
size += read(_reader, _dxbc.outputSignature); size += read(_reader, _dxbc.outputSignature);
break; break;
case BX_MAKEFOURCC('R', 'D', 'E', 'F'): case BX_MAKEFOURCC('I', 'F', 'C', 'E'): // Interface.
case BX_MAKEFOURCC('I', 'F', 'C', 'E'): case BX_MAKEFOURCC('R', 'D', 'E', 'F'): // Resource definition.
case BX_MAKEFOURCC('P', 'C', 'S', 'G'): case BX_MAKEFOURCC('S', 'D', 'G', 'B'): // Shader debugging info (old).
case BX_MAKEFOURCC('S', 'T', 'A', 'T'): case BX_MAKEFOURCC('S', 'P', 'D', 'B'): // Shader debugging info (new).
case BX_MAKEFOURCC('S', 'F', 'I', '0'): case BX_MAKEFOURCC('S', 'F', 'I', '0'): // ?
case BX_MAKEFOURCC('P', 'S', 'O', '1'): case BX_MAKEFOURCC('S', 'T', 'A', 'T'): // Statistics.
case BX_MAKEFOURCC('P', 'S', 'O', '2'): case BX_MAKEFOURCC('P', 'C', 'S', 'G'): // Patch constant signature.
case BX_MAKEFOURCC('P', 'S', 'O', '1'): // Pipeline State Object 1
case BX_MAKEFOURCC('P', 'S', 'O', '2'): // Pipeline State Object 2
size += chunkSize; size += chunkSize;
break; break;