When I call calResAlloc2D(), if the x dimension is not a multiple of 64, the result returned is CAL_RESULT_WARNING. I think this is because x is not a multiple of the pitch alignment (indeed, if x is 65, the pitch returned by calResMap() is 128). However, since I am passing CAL_RESALLOC_GLOBAL_BUFFER and will be doing my own indexing into the global buffer in the shader, can I safely ignore this warning?