Is there any rational for the 512 byte alignment in this macro?

This is used to allocate main-memory copies of texture images, so the numbers add up pretty quickly...

I can't think of any reason to go beyond 16 or at most 32 byte alignment from a cpu/caching perspective, and these buffers aren't visible to hardware (which can have more stringent requirements).

Keith



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to