[Mesa-dev] [PATCH 11/16] mesa: Set gl_constants::MinMapBufferAlignment to 64 by default

Ian Romanick idr at freedesktop.org
Wed Jan 22 20:48:51 PST 2014


From: Siavash Eliasi <siavashserver at gmail.com>

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
---
 src/mesa/main/context.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 7c3b2d7..b818ab4 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -587,6 +587,7 @@ _mesa_init_constants(struct gl_context *ctx)
    ctx->Const.MaxSpotExponent = 128.0;
    ctx->Const.MaxViewportWidth = MAX_VIEWPORT_WIDTH;
    ctx->Const.MaxViewportHeight = MAX_VIEWPORT_HEIGHT;
+   ctx->Const.MinMapBufferAlignment = 64;
 
    /* Driver must override these values if ARB_viewport_array is supported. */
    ctx->Const.MaxViewports = 1;
-- 
1.8.1.4



More information about the mesa-dev mailing list