summaryrefslogtreecommitdiff
path: root/src/mesa/main/glthread.h
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2022-12-18 16:44:48 -0500
committerMarek Olšák <marek.olsak@amd.com>2023-01-20 21:34:09 -0500
commit797b8391110fba4114de9f946f912238a6cf568b (patch)
tree60b7669c339d021bad2729b86bbd157998281d0f /src/mesa/main/glthread.h
parentaca09e4f71937f602b52c3ad42f2afc7fa91a8b2 (diff)
glthread: disallow glthread if buffer uploads are unsupported
to remove fail paths that defeat the purpose of glthread. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20824>
Diffstat (limited to 'src/mesa/main/glthread.h')
-rw-r--r--src/mesa/main/glthread.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/glthread.h b/src/mesa/main/glthread.h
index 23cfce82806..d752ca9ef7a 100644
--- a/src/mesa/main/glthread.h
+++ b/src/mesa/main/glthread.h
@@ -204,9 +204,6 @@ struct glthread_state
unsigned upload_offset;
int upload_buffer_private_refcount;
- /** Caps. */
- GLboolean SupportsBufferUploads;
-
/** Primitive restart state. */
bool PrimitiveRestart;
bool PrimitiveRestartFixedIndex;