Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复 bindings 缓存在 WebGPU 的问题 #2526

Merged
merged 2 commits into from
Jun 7, 2024
Merged

Conversation

lvisei
Copy link
Member

@lvisei lvisei commented Jun 7, 2024

🤔 这个变动的性质是?

  • 日常 bug 修复

🔗 相关 Issue

💡 问题出现原因

在 WebGPU 下,每次 model draw 创建新 Pipeline,使用了缓存 createBindings,导致新的 Pipeline 使用 getBindGroupLayout 不一致。

因 L7 API 设计原因,draw 动态传入的参数(比如 stencil),必须每次创建 Pipeline,后续设计新 API 考虑 Pipeline 缓存情况。

Copy link

changeset-bot bot commented Jun 7, 2024

🦋 Changeset detected

Latest commit: 8f12ee2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
@antv/l7-renderer Patch
@antv/l7-scene Patch
@antv/l7 Patch
@antv/l7-test-utils Patch
@antv/l7-three Patch
@antv/l7-component Patch
@antv/l7-layers Patch
@antv/l7-core Patch
@antv/l7-map Patch
@antv/l7-maps Patch
@antv/l7-source Patch
@antv/l7-utils Patch

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

@lvisei lvisei merged commit 3aa0f32 into beta Jun 7, 2024
9 checks passed
@lvisei lvisei deleted the fix/webgpu-renderer branch June 7, 2024 10:00
@github-actions github-actions bot mentioned this pull request Jun 7, 2024
lvisei added a commit that referenced this pull request Jun 11, 2024
* refactor: 重构高德地图 V2 以视口进行同步 (#2387)

* refactor: amap next

* fix: getMinZoom

* refactor: base map

* fix: source update 事件访问图层初始化未完成

* fix: 新版高德大于 21  级别抖动问题

* fix: Mapbox/Maplibre 20 层级以上数据偏移问题 (#2416)

* fix: fix line data offset in mapbox

* refactor: 完成点线面图层属性索引重构

* refactor: 完成 citybuliding\earth\geometry\heatmap 图层属性索引重构

* refactor: 完成 image/ raster/wind 图层属性索引重构

* refactor: 标记最大索引

* fix: line layer data shake

* refactor: 自定义开启双精度属性

* fix: map type

* fix: amap support three

* refactor: 移除不必要的剔除逻辑

* fix: 修复面图层光照计算

* fix: type EventEmitter

* fix: mapbox 下部分面数据图层绘制异常 (#2453)

* fix: mapbox 下部分面数据图层绘制异常

* fix: 3d extrude polygon layer

* fix: 修复 WebGPU 模式渲染问题 (#2450)

* fix: mapbox 线图层的贴图变形 (#2474)

* fix: mapbox 线图层的贴图变形

* fix: 修复热力蜂窝图层渲染空白 (#2500)

* fix: 修复热力蜂窝图层渲染空白

* fix: 无地图与 MapLibre 模式移动 Marker 出错 (#2509)

* fix: marker 拖动报错

* fix: 在 WebGL2 拾取事件冒泡延迟问题 (#2511)

* fix: 在 WebGL2 拾取事件冒泡延迟问题

* fix: 天地图 setCenter 方法缺失 (#2513)

* fix: 天地图 setCenter 方法缺失

* fix: 修复在 Map 上使用组件事件穿透到图层上的问题 (#2518)

* fix: 修复在 Map 上使用组件事件穿透到图层上的问题

* fix: 解决 GeometryLayer 在不同底图上的渲染不一致情况 (#2523)

* fix: 解决 GeometryLayer 在不同底图上的渲染不一致情况

* fix: 统一地形高度

* refactor: 升级新版一方地图交互事件机制,解决抖动问题 (#2521)

* refactor: 升级新版地图交互事件机制

* refactor: 默认升级 MapNext 至 maplibre-gl-js@4.3.2

* fix: 顶点着色器与片元着色器 varying 变量顺序不一致 (#2527)

* fix: 修复 bindings 缓存在 WebGPU 的问题 (#2526)

* fix: 修复 bindings 缓存在 WebGPU 的问题

---------

Co-authored-by: lvisei <26923747+lvisei@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants