Add support for indexed texture mappings - allow for things like BC
pipes where textures come from multiple sources