iris: fix TBO alignment to match 965
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 25 Jul 2018 00:02:25 +0000 (17:02 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:07 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_screen.c

index 68226533b33c46e82ef7a5bec53868a2f16ce9b0..4028a685260a49ec74d3a79d51f3b3cb9dd760e7 100644 (file)
@@ -208,7 +208,7 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
       return 64; // XXX: ?
    case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT:
-      return 1;
+      return 16;
    case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER:
       return true; // XXX: ?????
    case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE: