From: Kenneth Graunke Date: Sun, 10 Feb 2019 22:23:45 +0000 (-0800) Subject: iris: Add PIPE_CAP_MAX_VARYINGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=974229df46b611b741e7b6f0c0f4d0c7bcfe7c14;p=mesa.git iris: Add PIPE_CAP_MAX_VARYINGS --- diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index d15cb2ee4b0..5ab3076ad0d 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -241,6 +241,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_VIDEO_MEMORY: return 0xffffffff; // XXX: bogus case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS: + case PIPE_CAP_MAX_VARYINGS: return 32; case PIPE_CAP_RESOURCE_FROM_USER_MEMORY: /* AMD_pinned_memory assumes the flexibility of using client memory