Would a glass roof be legal for autocross or track use?

I may have an opportunity to pick one up come spring.