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

Change to break_batching update only when pipeline's are changed #688

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

jwvg0425
Copy link
Contributor

When setting the material using gl_use_material, if the same material is passed, there is no need to break batching and increase draw calls. It seems that not performing break_batching when the pipeline is the same would be better in terms of performance.

@not-fl3
Copy link
Owner

not-fl3 commented Jan 15, 2024

Thanks for PR!

@not-fl3 not-fl3 merged commit aaaf354 into not-fl3:master Jan 15, 2024
6 checks passed
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.

2 participants