see below - mainly removing the ArrayTexture stuff.