r33: Added constant buffer to vertex shader, improved HLSL code.