almost done with the shaderpermutation stuff