From: Kenneth Graunke Date: Thu, 19 Jul 2018 04:08:32 +0000 (-0700) Subject: iris: fill out MAX_PATCH_VERTICES X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e19885d5a48c4f09c31fe46697f3fd6e667d9a5;p=mesa.git iris: fill out MAX_PATCH_VERTICES --- diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index 654956d3c40..43d7bfb2ff1 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -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: