mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
suspect all the future suspects (#5413)
* suspect all the future suspects * changelog
This commit is contained in:
@@ -132,6 +132,7 @@ Bottom level categories:
|
||||
- Fix registry leaks with de-duplicated resources. By @nical in [#5244](https://github.com/gfx-rs/wgpu/pull/5244)
|
||||
- Fix behavior of integer `clamp` when `min` argument > `max` argument. By @cwfitzgerald in [#5300](https://github.com/gfx-rs/wgpu/pull/5300).
|
||||
- Fix linking when targeting android. By @ashdnazg in [#5326](https://github.com/gfx-rs/wgpu/pull/5326).
|
||||
- fix resource leak for buffers/textures dropped while having pending writes. By @robtfm in [#5413](https://github.com/gfx-rs/wgpu/pull/5413)
|
||||
|
||||
#### Naga
|
||||
- In spv-in, remove unnecessary "gl_PerVertex" name check so unused builtins will always be skipped. By @Imberflur in [#5227](https://github.com/gfx-rs/wgpu/pull/5227).
|
||||
|
||||
@@ -309,12 +309,12 @@ impl<A: HalApi> LifetimeTracker<A> {
|
||||
}
|
||||
|
||||
pub fn post_submit(&mut self) {
|
||||
for v in self.future_suspected_buffers.drain(..).take(1) {
|
||||
for v in self.future_suspected_buffers.drain(..) {
|
||||
self.suspected_resources
|
||||
.buffers
|
||||
.insert(v.as_info().tracker_index(), v);
|
||||
}
|
||||
for v in self.future_suspected_textures.drain(..).take(1) {
|
||||
for v in self.future_suspected_textures.drain(..) {
|
||||
self.suspected_resources
|
||||
.textures
|
||||
.insert(v.as_info().tracker_index(), v);
|
||||
|
||||
Reference in New Issue
Block a user