High varying load

To improve the performance of applications that are GPU-limited, and that have high shader loads dominated by varying interpolation processing, you should reduce interpolation complexity in your shader programs.

To reduce a high varying load:

  1. Reduce precision – mediump interpolation is twice as fast as highp interpolation.
  2. Pack mediump vectors into multiples of 32-bits.

    Vectors that are a multiple of 32 bits in length are more efficient than non-packed vectors. For example, a mediump vec2 + vec2 pair is faster than a mediump vec3 + float pair.

Previous Next