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

hal/gles: fix dirty vertex buffers that are unused #2427

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

kvark
Copy link
Member

@kvark kvark commented Jan 28, 2022

Connections
kvark/vange-rs#190

Description
If first bound pipeline uses a lot of vertex buffers, and the next pipeline uses less, the unused vertex buffers are still considered dirty. And the unwrap would hit us when trying to bind them.

Testing
On vange-rs and examples

@kvark kvark added the PR: needs back-porting PR with a fix that needs to land on crates label Jan 28, 2022
@kvark kvark enabled auto-merge (rebase) January 28, 2022 05:59
@kvark kvark merged commit 9219489 into gfx-rs:master Jan 28, 2022
@kvark kvark deleted the gl-vbuf branch January 28, 2022 06:08
@cwfitzgerald cwfitzgerald removed the PR: needs back-porting PR with a fix that needs to land on crates label Feb 9, 2023
cwfitzgerald pushed a commit that referenced this pull request Oct 25, 2023
Co-authored-by: teoxoy <28601907+teoxoy@users.noreply.github.com>
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