iris: Add PIPE_CAP_MAX_VARYINGS
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 10 Feb 2019 22:23:45 +0000 (14:23 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:11 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_screen.c

index d15cb2ee4b049f65ed1945d36a4f810677262c79..5ab3076ad0dc0d6d4764d95f0cdb8890cd7281ee 100644 (file)
@@ -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