diff options
author | Tapani Pälli <tapani.palli@intel.com> | 2017-11-20 08:31:40 +0200 |
---|---|---|
committer | Tapani Pälli <tapani.palli@intel.com> | 2017-12-15 08:42:48 +0200 |
commit | 80d96ca4c862dcf275b93e603916193094c59d6e (patch) | |
tree | f928ec05797449d5fd837b2bce2765f59eb61849 /src/mesa/main/robustness.c | |
parent | 49e2586bfc7f806038bba7864dcff0c50fed1fe9 (diff) |
mesa: add DisjointOperation to gl_shared_state
This state will be used by EXT_disjoint_timer_query. As first
usage, patch sets DisjointOperation true when gpu reset happens.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/main/robustness.c')
-rw-r--r-- | src/mesa/main/robustness.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/robustness.c b/src/mesa/main/robustness.c index a61c07f125f..e7d7007da48 100644 --- a/src/mesa/main/robustness.c +++ b/src/mesa/main/robustness.c @@ -145,6 +145,7 @@ _mesa_GetGraphicsResetStatusARB( void ) */ if (status != GL_NO_ERROR) { ctx->Shared->ShareGroupReset = true; + ctx->Shared->DisjointOperation = true; } else if (ctx->Shared->ShareGroupReset && !ctx->ShareGroupReset) { status = GL_INNOCENT_CONTEXT_RESET_ARB; } |