prim.ExtendedParameter1 = firstInstance;
prim.ExtendedParameter2 = i;
}
-#if GFX_VERx10 == 125
- genX(emit_dummy_post_sync_op)(cmd_buffer, draw->vertexCount);
-#endif
}
#endif
+#if GFX_VERx10 == 125
+ genX(emit_dummy_post_sync_op)(cmd_buffer,
+ drawCount == 0 ? 0 :
+ pVertexInfo[drawCount - 1].vertexCount);
+#endif
+
update_dirty_vbs_for_gfx8_vb_flush(cmd_buffer, SEQUENTIAL);
trace_intel_end_draw_multi(&cmd_buffer->trace, count);
prim.ExtendedParameter1 = firstInstance;
prim.ExtendedParameter2 = i;
}
-#if GFX_VERx10 == 125
- genX(emit_dummy_post_sync_op)(cmd_buffer, draw->indexCount);
-#endif
}
#endif
+#if GFX_VERx10 == 125
+ genX(emit_dummy_post_sync_op)(cmd_buffer,
+ drawCount == 0 ? 0 :
+ pIndexInfo[drawCount - 1].indexCount);
+#endif
+
update_dirty_vbs_for_gfx8_vb_flush(cmd_buffer, RANDOM);
trace_intel_end_draw_indexed_multi(&cmd_buffer->trace, count);
}
#if GFX_VERx10 == 125
- genX(emit_dummy_post_sync_op)(cmd_buffer, 1);
+ genX(emit_dummy_post_sync_op)(cmd_buffer, 1);
#endif
update_dirty_vbs_for_gfx8_vb_flush(cmd_buffer, SEQUENTIAL);