summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_screen.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-07-25 23:33:16 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:08 -0800
commit8da91ebb688eb1ac03f4dbe5c5bdd6c10b5de93e (patch)
tree7529f6ea50c602a20095436d3cb4a8952e7b9d90 /src/gallium/drivers/iris/iris_screen.c
parentf3dd70182d0da93812efcc79a9e6854aceb594f5 (diff)
iris: enable texture gather
Diffstat (limited to 'src/gallium/drivers/iris/iris_screen.c')
-rw-r--r--src/gallium/drivers/iris/iris_screen.c3
1 files changed, 2 insertions, 1 deletions
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: