summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2018-08-06 08:38:54 -0400
committerMarek Olšák <marek.olsak@amd.com>2018-08-23 16:56:17 -0400
commitd3c1b212bc72494bdcca617115cda4e0b55d2dbe (patch)
treea08995d9d32f4c91a2786c344a538d26798d06a4 /src/gallium/drivers/i915
parentf6ccd594e73d5bebc0b3e4ee6cb2f7eea228058f (diff)
gallium: add PIPE_CAP_MAX_SHADER_BUFFER_SIZE
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r--src/gallium/drivers/i915/i915_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c
index 6b850064019..fcca8b99813 100644
--- a/src/gallium/drivers/i915/i915_screen.c
+++ b/src/gallium/drivers/i915/i915_screen.c
@@ -340,6 +340,9 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap)
case PIPE_CAP_MAX_GS_INVOCATIONS:
return 32;
+ case PIPE_CAP_MAX_SHADER_BUFFER_SIZE:
+ return 1 << 27;
+
case PIPE_CAP_MAX_VIEWPORTS:
return 1;