mesa: Add ARB_vertex_attrib_binding
update_array() and update_array_format() are changed to update the new attrib and binding states, and the client arrays become derived state. Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -678,6 +678,10 @@ _mesa_init_constants(struct gl_context *ctx)
|
||||
ctx->Const.MaxAtomicBufferSize = MAX_ATOMIC_COUNTERS * ATOMIC_COUNTER_SIZE;
|
||||
ctx->Const.MaxCombinedAtomicBuffers = MAX_COMBINED_ATOMIC_BUFFERS;
|
||||
ctx->Const.MaxCombinedAtomicCounters = MAX_ATOMIC_COUNTERS;
|
||||
|
||||
/* GL_ARB_vertex_attrib_binding */
|
||||
ctx->Const.MaxVertexAttribRelativeOffset = 2047;
|
||||
ctx->Const.MaxVertexAttribBindings = MAX_VERTEX_GENERIC_ATTRIBS;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user