summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-11-22 22:40:06 +0100
committerMarek Olšák <[email protected]>2012-11-22 22:40:06 +0100
commitd172fa825b21ce3ff4f5cd83d0de7ef7f3a8d865 (patch)
tree64b89e11beeec34378a98984440cdf428eb3626d /src/gallium/drivers/r600/r600_pipe.c
parentf8840057710041e2d43fddfe4ef9f392c475e129 (diff)
r600g: fix ARB_map_buffer_alignment with unaligned offsets and staging buffers
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 296f812551d..04ddbeabde4 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -401,7 +401,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
return 1;
case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT:
- return 64;
+ return R600_MAP_BUFFER_ALIGNMENT;
case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT:
return 256;