1 Reply Latest reply on Jan 12, 2009 7:03 PM by MicahVillmow

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

    rick.weber

      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?