panfrost: Avoid postfix dep for vertex_data
[mesa.git] / src / gallium / drivers / panfrost / pan_context.c
index 215fe594406d4bba409c5b035090d87a4a28a2eb..9f22c2b698c24187f44f5ceeb0b9367f3ac2a824 100644 (file)
@@ -319,9 +319,10 @@ panfrost_draw_vbo(
                                         1, 1, 1);
 
         /* Emit all sort of descriptors. */
-        mali_ptr push_vert = 0, push_frag = 0;
+        mali_ptr push_vert = 0, push_frag = 0, attribs = 0;
 
-        panfrost_emit_vertex_data(batch, &vertex_postfix);
+        vertex_postfix.attribute_meta = panfrost_emit_vertex_data(batch, &attribs);
+        vertex_postfix.attributes = attribs;
         panfrost_emit_varying_descriptor(batch,
                                          ctx->padded_count *
                                          ctx->instance_count,