Add support for a lot of the remaining texture ops, move code into the