summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-09-06 00:09:27 -0400
committerMarek Olšák <[email protected]>2018-09-06 16:07:40 -0400
commit1285f71d3e93f200cec0c321bb6e621d4aece7b3 (patch)
treee2a355e483371f965be1695cf5e524cec4032966 /src/mesa
parent3824c8e7cda97c3bf856983ea5fb6d696c75fb24 (diff)
gallium: add PIPE_CAP_RASTERIZER_SUBPIXEL_BITS
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_extensions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 244c12595ec..319eef6a729 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->MaxRenderbufferSize = c->MaxTextureRectSize;
c->SubPixelBits =
+ screen->get_param(screen, PIPE_CAP_RASTERIZER_SUBPIXEL_BITS);
c->ViewportSubpixelBits =
screen->get_param(screen, PIPE_CAP_VIEWPORT_SUBPIXEL_BITS);