[Mesa-dev] [PATCH] st/mesa: don't update MSAA states for GL_FRAMEBUFFER_SRGB
Nicolai Hähnle
nhaehnle at gmail.com
Wed Jun 14 07:36:56 UTC 2017
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
On 14.06.2017 02:48, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> ---
> src/mesa/state_tracker/st_context.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
> index b99a53b..0d376e4 100644
> --- a/src/mesa/state_tracker/st_context.c
> +++ b/src/mesa/state_tracker/st_context.c
> @@ -511,21 +511,21 @@ static void st_init_driver_flags(struct st_context *st)
>
> f->NewArray = ST_NEW_VERTEX_ARRAYS;
> f->NewRasterizerDiscard = ST_NEW_RASTERIZER;
> f->NewUniformBuffer = ST_NEW_UNIFORM_BUFFER;
> f->NewDefaultTessLevels = ST_NEW_TESS_STATE;
> f->NewTextureBuffer = ST_NEW_SAMPLER_VIEWS;
> f->NewAtomicBuffer = ST_NEW_ATOMIC_BUFFER;
> f->NewShaderStorageBuffer = ST_NEW_STORAGE_BUFFER;
> f->NewImageUnits = ST_NEW_IMAGE_UNITS;
> f->NewWindowRectangles = ST_NEW_WINDOW_RECTANGLES;
> - f->NewFramebufferSRGB = ST_NEW_FRAMEBUFFER;
> + f->NewFramebufferSRGB = ST_NEW_FB_STATE;
> f->NewScissorRect = ST_NEW_SCISSOR;
> f->NewScissorTest = ST_NEW_SCISSOR | ST_NEW_RASTERIZER;
> }
>
> struct st_context *st_create_context(gl_api api, struct pipe_context *pipe,
> const struct gl_config *visual,
> struct st_context *share,
> const struct st_config_options *options)
> {
> struct gl_context *ctx;
>
--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
More information about the mesa-dev
mailing list