From fe764477b04866cf4598005e94b374dcbca379e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tapani=20P=C3=A4lli?= Date: Tue, 25 Oct 2016 13:42:12 +0300 Subject: [PATCH] i956: set RobustAccess true when is supported MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Tapani Pälli Reviewed-by: Eric Engestrom --- src/mesa/drivers/dri/i965/brw_context.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index af8ed2cc31a..3085a985517 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -1107,8 +1107,10 @@ brwCreateContext(gl_api api, brw->perf_debug = true; } - if ((flags & __DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS) != 0) + if ((flags & __DRI_CTX_FLAG_ROBUST_BUFFER_ACCESS) != 0) { ctx->Const.ContextFlags |= GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB; + ctx->Const.RobustAccess = GL_TRUE; + } if (INTEL_DEBUG & DEBUG_SHADER_TIME) brw_init_shader_time(brw); -- 2.30.2