[Mesa-dev] [PATCH 15/17] Modified brw_initialize_context_constants to set ctx->Const.MinMapBufferAlignment to 4096.

Siavash Eliasi siavashserver at gmail.com
Sun Nov 24 21:36:45 PST 2013


---
 src/mesa/drivers/dri/i965/brw_context.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 6e09077..679ec0e 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -320,6 +320,8 @@ brw_initialize_context_constants(struct brw_context *brw)
 
    ctx->Const.MaxRenderbufferSize = 8192;
 
+   ctx->Const.MinMapBufferAlignment = 4096;
+
    /* Hardware only supports a limited number of transform feedback buffers.
     * So we need to override the Mesa default (which is based only on software
     * limits).
-- 
1.8.4.2



More information about the mesa-dev mailing list