added primitive batch to render context