This makes sure getShaderPrecisionFormat exists on the context

This is to solve #2996