Refactor texture sampling

SlimShader VM now calculates partial derivatives