panfrost: Treat texture dimension as first-class