From: Marek Olšák Date: Mon, 6 Aug 2018 08:25:15 +0000 (-0400) Subject: st/mesa: set ctx->Const.SubPixelBits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d36af3a9d97772429911c5a1d8069c9b8c2f1cc7;p=mesa.git st/mesa: set ctx->Const.SubPixelBits Tested-by: Dieter Nützel --- diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index a81c68dd53a..d1c18e4e2a0 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -111,6 +111,7 @@ void st_init_limits(struct pipe_screen *screen, c->MaxViewportHeight = c->MaxRenderbufferSize = c->MaxTextureRectSize; + c->SubPixelBits = c->ViewportSubpixelBits = screen->get_param(screen, PIPE_CAP_VIEWPORT_SUBPIXEL_BITS);