From 8da91ebb688eb1ac03f4dbe5c5bdd6c10b5de93e Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 25 Jul 2018 23:33:16 -0700 Subject: [PATCH] iris: enable texture gather --- 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 105ac0e5f62..aa11f51d0a8 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -231,8 +231,9 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS: return 128; case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS: + return 4; case PIPE_CAP_TEXTURE_GATHER_SM5: - return 0; // XXX: + return 1; case PIPE_CAP_MIN_TEXTURE_GATHER_OFFSET: return -32; case PIPE_CAP_MAX_TEXTURE_GATHER_OFFSET: -- 2.30.2