barebones vsm working on d3d