cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

rick_weber
Adept II

Using global buffer return CAL_RESULT_WARNING in calResAllocLocal2D() if dim1 is not multiple of 64

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?

0 Likes
1 Reply

rick.weber,
It can be ignored, but please read the cal release notes about this in the 1.3 sdk.
0 Likes