ilo: Set PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT to 64
authorSiavash Eliasi <siavashserver@gmail.com>
Thu, 28 Nov 2013 08:56:34 +0000 (12:26 +0330)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Jan 2014 16:11:39 +0000 (09:11 -0700)
Ian manually ran the map_buffer_range* tests and the
arb_map_buffer_alignment-* tests, but he did not do a full piglit run.

v2 (idr): Use 64 instead of 4096

Tested-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/ilo/ilo_screen.c

index 13a0be5d390d4c1009afa268cbebe0f24bf8b0bb..1443ba350c6da32630c5da5b0c97162677a8561a 100644 (file)
@@ -408,7 +408,7 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_TEXTURE_MULTISAMPLE:
       return false; /* TODO */
    case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
-      return 0;
+      return 64;
    case PIPE_CAP_CUBE_MAP_ARRAY:
    case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
       return true;