Skip to content

refactor(flame_3d): Simplify uniform slot definitions and allocations#3873

Open
wolfenrain wants to merge 3 commits intomainfrom
refactor(flame_3d)-simplify-uniform-slot-allocation
Open

refactor(flame_3d): Simplify uniform slot definitions and allocations#3873
wolfenrain wants to merge 3 commits intomainfrom
refactor(flame_3d)-simplify-uniform-slot-allocation

Conversation

@wolfenrain
Copy link
Contributor

Description

With flutter_gpu and Impeller we can look up the actual uniforms on the shader, get their size as Impeller expects it and validate if names actually exist. Refactored to use that so our uniform shader approach is a lot more stable and secure.

Checklist

  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

Related Issues

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.

1 participant