summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_screen.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-10-22 14:28:54 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:09 -0800
commita9b32f2bbf9f70f3fe3f900b474714212d7d7a80 (patch)
tree41f8d2454f91729ef8f41c9f7584ac6c17fc4b52 /src/gallium/drivers/iris/iris_screen.c
parentd1f89477924292dffc09fb95a6e5989ceef67419 (diff)
iris: Fix texture buffer / image buffer sizes.
Also fix image buffers with offsets.
Diffstat (limited to 'src/gallium/drivers/iris/iris_screen.c')
-rw-r--r--src/gallium/drivers/iris/iris_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c
index 5e27acc54b1..ac34625fed6 100644
--- a/src/gallium/drivers/iris/iris_screen.c
+++ b/src/gallium/drivers/iris/iris_screen.c
@@ -211,7 +211,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
return true; // XXX: ?????
case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
- return 1 << 27; /* 128MB */
+ return IRIS_MAX_TEXTURE_BUFFER_SIZE;
case PIPE_CAP_MAX_VIEWPORTS:
return 16;
case PIPE_CAP_MAX_GEOMETRY_OUTPUT_VERTICES: