i965: Don't create a swrast context on ES2+.
We already skip this for API_OPENGL_CORE; ES2+ is very similar. The primary user of the swrast context is GL_SELECT and GL_FEEDBACK, which have never existed in ES. This saves approximately 18MB of memory in GLBenchmark 2.7 Egypt (ES2). No regressions in es3conform on Ivybridge. Signed-off-by: Kenneth Graunke <firstname.lastname@example.org> Reviewed-by: Matt Turner <email@example.com> Reviewed-by: Chad Versace <firstname.lastname@example.org> Reviewed-by: Kristian Høgsberg <email@example.com>
Showing with 1 addition and 1 deletion