dynamic ptex
working
fix shader compile error