CAL 1.4 samples. bug in format?

Discussion created by CaptainN on Nov 18, 2009
setting different format size in SDK does not seems reflected in width param.

calResAlloc{Remote|Local}2D, as well as 1D call, among other paramters requires height, width and data format, what is inline with expectations.

However, in all the SDK sample, while setting CAL_FORMAT_FLOAT4 as a type of the data, width parameter is not devided by 4. Is it just a relaxed restrictions in samples (as type of the data is controlled via cmd args) and in practice if CAL_FORMAT_XXX4 is set, width must be devided by 4 to save the memory?