add some test support for constant buffers, figured out the xnamath crap