From 5e19885d5a48c4f09c31fe46697f3fd6e667d9a5 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 18 Jul 2018 21:08:32 -0700 Subject: [PATCH] iris: fill out MAX_PATCH_VERTICES --- src/gallium/drivers/iris/iris_screen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.30.2