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

Dispatch refactor of materials/lights/... for shorter shader compilation time #13

Open
OldNew777 opened this issue May 9, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@OldNew777
Copy link
Contributor

Now the dispatch code will generate closure codes for each surface instance, even if some of the instances have the same surface type. And this feature brings long shader compilation time and long generated code length for complex scenes.

We are trying to refactor these codes to separate data dispatch and function dispatch.

@OldNew777 OldNew777 added the enhancement New feature or request label May 9, 2023
@OldNew777 OldNew777 self-assigned this May 9, 2023
@Mike-Leo-Smith
Copy link
Contributor

Surfaces are good now. TODO: Lights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants