Consolidate texture fetch code and use partial derivatives when possible.
3 files changed