Working back towards being able to build. Cleaning up a lot of little things. Commented out current handling for vertex shader constants. Remaining part preventing compilation is the stateblock which needs some work.