summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_screen.c
diff options
context:
space:
mode:
authorSiavash Eliasi <siavashserver@gmail.com>2013-11-28 12:26:34 +0330
committerIan Romanick <ian.d.romanick@intel.com>2014-01-29 09:11:39 -0700
commit205e6240480fef8ee1354e8810954eadb5ffde22 (patch)
tree4f37557155376125d02aa1986e47fb61326bb57c /src/gallium/drivers/ilo/ilo_screen.c
parent75081391a4c7fcb6b46447139c7058fe3688fe3c (diff)
downloadexternal_mesa3d-205e6240480fef8ee1354e8810954eadb5ffde22.zip
external_mesa3d-205e6240480fef8ee1354e8810954eadb5ffde22.tar.gz
external_mesa3d-205e6240480fef8ee1354e8810954eadb5ffde22.tar.bz2
ilo: Set PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT to 64
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>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_screen.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c
index 13a0be5..1443ba3 100644
--- a/src/gallium/drivers/ilo/ilo_screen.c
+++ b/src/gallium/drivers/ilo/ilo_screen.c
@@ -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;