From c9f2af3df719c5ed608ef72b09f6907e1015079c Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 28 Oct 2012 17:52:48 +0100 Subject: gallium: expose ARB_map_buffer_alignment on Radeon Reviewed-by: Brian Paul v2: update relnotes-9.1 v3: use align_malloc and align_free for malloced buffers in r300g v4: document the new CAP in the docs --- src/gallium/drivers/i915/i915_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/i915/i915_screen.c') diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 1c82474bb17..45f48c2a4fb 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -209,6 +209,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_START_INSTANCE: case PIPE_CAP_QUERY_TIMESTAMP: case PIPE_CAP_TEXTURE_MULTISAMPLE: + case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: return 0; case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: -- cgit v1.2.3