Sign in to follow this  
katsh

D3DXMATRIXA16 what "A16" mean?

Recommended Posts

Quote:
Original post by FReY
16 *byte* aligned.
Yup.

The reason for the alignment is that it can be faster to use the matrix if it's aligned to a certain boundary. SSE2 and 3dNow! both need the matrix aligned. If it's not aligned, I'd guess that D3DX will either copy it to an aligned version, or it'll fallback and use some other method for changing the matrix (E.g. a plain x86 ASM version of a matrix multiply rather than an SSE2 one).

Basically, it's faster to use, but usually takes more memory.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this