Failed to update state tracker with new buffer interface.
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
if (bo && bo->buffer) {
unsigned stream =
- obj->shader_program->LinkedTransformFeedback.BufferStream[i];
+ obj->shader_program->LinkedTransformFeedback.Buffers[i].Stream;
/* Check whether we need to recreate the target. */
if (!sobj->targets[i] ||
for (i = 0; i < ARRAY_SIZE(sobj->targets); i++) {
unsigned stream =
- obj->shader_program->LinkedTransformFeedback.BufferStream[i];
+ obj->shader_program->LinkedTransformFeedback.Buffers[i].Stream;
/* Is it not bound or already set for this stream? */
if (!sobj->targets[i] || sobj->draw_count[stream])