iris: fill out MAX_PATCH_VERTICES
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 19 Jul 2018 04:08:32 +0000 (21:08 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:07 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_screen.c

index 654956d3c40970e29660afc3eaabe5c747f13c58..43d7bfb2ff10fa801e9dc9841bf962493d33bd66 100644 (file)
@@ -236,11 +236,12 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
       return 0xffffffff; // XXX: bogus
    case PIPE_CAP_MAX_VERTEX_ATTRIB_STRIDE:
       return 2048;
+   case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS:
+      return 32;
    case PIPE_CAP_POLYGON_OFFSET_CLAMP:
    case PIPE_CAP_MULTISAMPLE_Z_RESOLVE:
    case PIPE_CAP_RESOURCE_FROM_USER_MEMORY:
    case PIPE_CAP_DEVICE_RESET_STATUS_QUERY:
-   case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS:
    case PIPE_CAP_TEXTURE_FLOAT_LINEAR:
    case PIPE_CAP_TEXTURE_HALF_FLOAT_LINEAR:
    case PIPE_CAP_DEPTH_BOUNDS_TEST: