proper shader validation