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

WebGPU: more changes for fast path support + misc fixes #11374

Merged
merged 37 commits into from Nov 3, 2021
Merged

WebGPU: more changes for fast path support + misc fixes #11374

merged 37 commits into from Nov 3, 2021

Conversation

Popov72
Copy link
Contributor

@Popov72 Popov72 commented Nov 2, 2021

New changes to avoid creating bundles in non compatibility mode.

Also:

  • added setMaterialForRendering to EffectLayer
  • improve perf when using the transmission helper
  • improve perf of SPS by updating directly the vertex buffers and not calling updateVerticesData (which dirtify the material)
  • fix occlusion queries not working anymore after the latest changes (drawWrappers)
  • fix updating the previous matrices for thin instances

Copy link
Member

@sebavan sebavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM only a couple neats

src/Engines/engine.ts Outdated Show resolved Hide resolved
src/Engines/nativeEngine.ts Outdated Show resolved Hide resolved
src/Engines/nullEngine.ts Outdated Show resolved Hide resolved
src/Engines/thinEngine.ts Outdated Show resolved Hide resolved
src/Engines/webgpuEngine.ts Outdated Show resolved Hide resolved
src/Layers/effectLayer.ts Show resolved Hide resolved
Copy link
Member

@sebavan sebavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !!!

@sebavan
Copy link
Member

sebavan commented Nov 3, 2021

@Popov72 maybe just a neat is to add more doc in the effectlayer/highlight/glow about all the effectIndex and such as it is not easy to grasp in maintenance ? would be awesome before we merge

@sebavan sebavan merged commit 2bbc6e3 into BabylonJS:master Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants