antvis / g-device-api

A Device API references WebGPU implementations
https://observablehq.com/@antv/g-device-api
8 stars 1 forks source link

切换 Vertex Input 时存在冗余 draw call #179

Closed xiaoiver closed 1 month ago

xiaoiver commented 2 months ago

调用 setVertexInput 时存在冗余的 bindBuffer 命令,这会影响性能:

截屏2024-04-30 下午1 56 35