From f6ccd594e73d5bebc0b3e4ee6cb2f7eea228058f Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 6 Aug 2018 08:07:25 -0400 Subject: gallium: add PIPE_CAP_MAX_GS_INVOCATIONS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tested-by: Dieter Nützel --- src/mesa/state_tracker/st_extensions.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa') diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 0705f25e007..ba0e89c700c 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -361,6 +361,8 @@ void st_init_limits(struct pipe_screen *screen, screen->get_param(screen, PIPE_CAP_MAX_GEOMETRY_OUTPUT_VERTICES); c->MaxGeometryTotalOutputComponents = screen->get_param(screen, PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS); + c->MaxGeometryShaderInvocations = + screen->get_param(screen, PIPE_CAP_MAX_GS_INVOCATIONS); c->MaxTessPatchComponents = MIN2(screen->get_param(screen, PIPE_CAP_MAX_SHADER_PATCH_VARYINGS), MAX_VARYING) * 4; -- cgit v1.2.3