diff options
author | Marek Olšák <[email protected]> | 2012-11-30 15:23:41 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-12-01 14:33:11 +0100 |
commit | 224d0e4a3ffee9df46b5340ed236f2d48eeb0778 (patch) | |
tree | 04b30a87d8b0d704ea11e771860e49a98a7f5b2a /src/gallium/drivers/r300/r300_context.h | |
parent | da7029dcb498f80d1837323038617b49cc28431f (diff) |
r300g: handle map flag DISCARD_WHOLE_RESOURCE
This should improve performance in apps which trigger this codepath.
(e.g. Wine does)
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 7d3b12d45d8..a1ae86816fb 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -23,6 +23,8 @@ #ifndef R300_CONTEXT_H #define R300_CONTEXT_H +#define R300_BUFFER_ALIGNMENT 64 + #include "draw/draw_vertex.h" #include "util/u_blitter.h" |