2010/7/26 Rico Schüller <[email protected]>:
> +    /* 32 (DXBC header) + 2 * (1 * 4 (chunk index) + 2 * 4 (chunk header)) + 
> data_size (chunk data) */

I'm probably missing something here, but:
  - I think that should be "2 * 4 (chunk index) + 2 * 4 (chunk header)" -> 48?
  - Aligning chunks on 16 byte / 128 bits offsets makes sense, but
then you also need to actually write the chunks at those locations,
and take it into account in the size calculation.


Reply via email to