aboutsummaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_context.h
diff options
context:
space:
mode:
authorRadosław Kujawa <radoslaw.kujawa@c0ff33.net>2026-08-02 22:04:06 +0200
committerRadosław Kujawa <radoslaw.kujawa@c0ff33.net>2026-08-02 22:04:32 +0200
commit56e89c9e4fb00b5c2af4536d4c50294608d0c46c (patch)
treeb247c62b317ce11e8c26e5b311a16cfae2f7d9c9 /src/mesa/tnl/t_context.h
parentafc74a01283fad7dfbbd670a535e68d90de7ed9a (diff)
Performance improvements, support userspace simulatorsHEADmaster
Diffstat (limited to 'src/mesa/tnl/t_context.h')
-rw-r--r--src/mesa/tnl/t_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h
index 55b405e..ae565fb 100644
--- a/src/mesa/tnl/t_context.h
+++ b/src/mesa/tnl/t_context.h
@@ -278,6 +278,9 @@ struct _tnl_dynfn_generators {
struct tnl_vtx {
GLfloat buffer[VERT_BUFFER_SIZE];
GLubyte attrsz[_TNL_ATTRIB_MAX];
+ GLubyte active_sz[_TNL_ATTRIB_MAX]; /* size the generic entrypoints
+ * currently store per attribute;
+ * 0 forces _tnl_choose_attr() */
GLuint vertex_size;
struct tnl_prim prim[TNL_MAX_PRIM];
GLuint prim_count;