aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.h
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.h
parentf8840057710041e2d43fddfe4ef9f392c475e129 (diff)
r600g: fix ARB_map_buffer_alignment with unaligned offsets and staging buffers
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 33ccefa13ca..219bd54304a 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -52,6 +52,8 @@
#define R600_BIG_ENDIAN 0
#endif
+#define R600_MAP_BUFFER_ALIGNMENT 64
+
struct r600_bytecode;
struct r600_shader_key;