add draw calls and draw verts for PrimitiveCommand
Fix compile error
Merge pull request #8075 from dabingnn/v3_FixVertsAndDrawCallsForPrimitiveCommand

add draw calls and draw verts for PrimitiveCommand