From 3e7a41f228e63b3392671ac2cf0285319b13cc67 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 31 Aug 2018 21:22:31 -0700 Subject: [PATCH] iris: new caps --- src/gallium/drivers/iris/iris_screen.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index 850cbfbcf78..4d0ccef0163 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -242,6 +242,8 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) * cacheline. */ return 64; + case PIPE_CAP_MAX_SHADER_BUFFER_SIZE: + return 1 << 27; case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: return 64; // XXX: ? case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT: @@ -258,6 +260,8 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 256; case PIPE_CAP_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS: return 1024; + case PIPE_CAP_MAX_GS_INVOCATIONS: + return 32; case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS: return 4; case PIPE_CAP_TEXTURE_GATHER_SM5: -- 2.30.2