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

v8 WebGL syncShader optimisation #10156

Merged
merged 4 commits into from
Jan 26, 2024
Merged

Conversation

GoodBoyDigital
Copy link
Member

  • add shader sync code generator
  • refactor unsafeEval package a bit

Surprisingly, generating a sync function on the fly and using that vs naivly looping through groups + bind groups when syncing a shader is quite a bit faster (almost 2x)

- refactor unsafeEval package a bit
Copy link

codesandbox-ci bot commented Jan 26, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit dd36cba:

Sandbox Source
pixi.js-sandbox Configuration

@Zyie Zyie merged commit 42a7609 into next-v8 Jan 26, 2024
4 checks passed
@Zyie Zyie deleted the chore/v8/optimise-gl-shader-sync branch January 26, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants