Re: [Mesa-dev] [PATCH] st/mesa: set ctx->Const.MaxSamples = 0, not 1

2013-01-26 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Sat, Jan 26, 2013 at 6:11 PM, Brian Paul wrote: > The gallium docs for pipe_screen::is_format_supported() says that > samples==0 or samples==1 both mean that multisampling is not supported. > Return GL_MAX_SAMPLES==0 instead of 1 for consistency with other driv

[Mesa-dev] [PATCH] st/mesa: set ctx->Const.MaxSamples = 0, not 1

2013-01-26 Thread Brian Paul
The gallium docs for pipe_screen::is_format_supported() says that samples==0 or samples==1 both mean that multisampling is not supported. Return GL_MAX_SAMPLES==0 instead of 1 for consistency with other drivers. Note: This is a candidate for the 9.0 branch. --- src/mesa/state_tracker/st_extension