Merged master with Texture Array optimization