Issue with a shader ported from my XNA project. (2D)

Resolved. I re-wrote the shader to not include a vertex shader, and it worked. It seems something is off about using custom vertex shaders with spritebatch.