The restriction of no swizzling and no struct fields as an interpolant were not being checked when using the ES profile. Fixes #3277.