mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 08:30:10 +01:00
i956: set RobustAccess true when is supported
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
parent
ef16003320
commit
fe764477b0
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue