[Mesa-dev] [PATCH 7/7] i965: Disable the swrast context setup on GL 3.1 core.

Chad Versace chad.versace at linux.intel.com
Mon Aug 27 12:32:16 PDT 2012


On 08/26/2012 04:46 PM, Eric Anholt wrote:
> I've reviewed the code, and the swrast callsites remaining are all in
> drawpixels/copypixels/bitmap/accum, or _swrast_BlitFramebuffer that shouldn't
> be hit.  A piglit run with the context setup disabled on legacy GL and GLES2
> showed regressions only in the copypixels and drawpixels tests.
> 
> If the context type is forced, this reduces the shader_runner maximum heap
> size for glsl-algebraic-add-add-1.shader_test from 15,137,496b to 4,165,376b.
> ---
>  src/mesa/drivers/dri/i965/brw_context.c    |    4 ++-
>  src/mesa/drivers/dri/intel/intel_context.c |   39 +++++++++++++++++++---------
>  src/mesa/drivers/dri/intel/intel_span.c    |    6 +++--
>  3 files changed, 34 insertions(+), 15 deletions(-)

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>


More information about the mesa-dev mailing list