From 974229df46b611b741e7b6f0c0f4d0c7bcfe7c14 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 10 Feb 2019 14:23:45 -0800 Subject: [PATCH] iris: Add PIPE_CAP_MAX_VARYINGS --- src/gallium/drivers/iris/iris_screen.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2