Closed lvisei closed 3 weeks ago
Latest commit: 8f12ee2f99690156ac53bf69006b95c9f93ee1d3
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
🤔 这个变动的性质是?
🔗 相关 Issue
2431
2525
💡 问题出现原因
在 WebGPU 下,每次 model draw 创建新 Pipeline,使用了缓存 createBindings,导致新的 Pipeline 使用 getBindGroupLayout 不一致。
因 L7 API 设计原因,draw 动态传入的参数(比如 stencil),必须每次创建 Pipeline,后续设计新 API 考虑 Pipeline 缓存情况。