[Mesa-dev] [PATCH 0/3] i965: Let driconf clamp_max_samples affect context version

Kenneth Graunke kenneth at whitecape.org
Thu Nov 21 00:19:35 PST 2013


On 11/20/2013 02:10 PM, Chad Versace wrote:
> This series makes clamp_max_samples actually useful enabling/disabling MSAA on
> Chromium. Without this series, clamp_max_samples=0 makes WebGL context creation
> fail on Chromium.
> 
> Eric complained that brw_clamp_max_samples() too closely resembled
> intel_quantize_num_samples(), so this series removes the conceptual duplication
> between the two functions.  It moves the list of supported MSAA modes to
> a shared function.
> 
> Chad Versace (3):
>   i965: Terminate brw_supported_msaa_modes() list with -1, not 0
>   i965: Share code between intel_quantize_num_samples and
>     clamp_max_samples
>   i965: Let driconf clamp_max_samples affect context version
> 
>  src/mesa/drivers/dri/i965/brw_context.c  | 77 +++++++++-----------------------
>  src/mesa/drivers/dri/i965/intel_fbo.c    | 28 +++++-------
>  src/mesa/drivers/dri/i965/intel_screen.c | 20 +++++++++
>  src/mesa/drivers/dri/i965/intel_screen.h |  3 ++
>  4 files changed, 53 insertions(+), 75 deletions(-)
> 

This series is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list