diff options
author | Marek Olšák <marek.olsak@amd.com> | 2021-10-17 23:10:31 -0400 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-10-27 01:24:03 +0000 |
commit | f4348ef60d51b07ee40ebfd4215118de281bd7e4 (patch) | |
tree | 3bd7442797a80d491a81d1bc41dffa853d9e3888 /src/mesa/main/glthread.h | |
parent | 6b370cbe289e5c0908f53283afd711f439be8879 (diff) |
glthread: don't sync for glIsEnabled with a few enums
viewperf benefits
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13403>
Diffstat (limited to 'src/mesa/main/glthread.h')
-rw-r--r-- | src/mesa/main/glthread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/glthread.h b/src/mesa/main/glthread.h index 6388baeaf61..cf10bf9be33 100644 --- a/src/mesa/main/glthread.h +++ b/src/mesa/main/glthread.h @@ -227,6 +227,9 @@ struct glthread_state struct glthread_attrib_node AttribStack[MAX_ATTRIB_STACK_DEPTH]; int AttribStackDepth; int MatrixStackDepth[M_NUM_MATRIX_STACKS]; + + /** Enable states. */ + bool CullFace; }; void _mesa_glthread_init(struct gl_context *ctx); |