Some more data.

Using any order for the fields in dt_mipmap_buffer_dsc is still ok.
But as soon as you add more than 4 uint32_t I get the error:

struct dt_mipmap_buffer_dsc
{
  uint32_t flags;
  uint32_t height;
  uint32_t size;
  uint32_t width;

  uint32_t pad[4]; // comment this out and it is still ok!
  /* NB: sizeof must be a multiple of 4*sizeof(float) */
}  __attribute__((packed));

To me this means that the requirement in comment above is wrong, it
seems that this record is expected to be EXACTLY 4*sizeof(float).

This is a hint, we probably want to find out why? And speaking about
float here is puzzling...

Any cache expert to shed some light?

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to