Skip to content

Commit 7be37cc

Browse files
committed
fix(core): Fix corner cases in initialized range tracking
1 parent d5d8ed8 commit 7be37cc

5 files changed

Lines changed: 343 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ Bottom level categories:
8383
- Zero-initialize padding (if any) at the end of a buffer allocation. This was application-visible in rare cases on Vulkan when a shader read beyond the valid range of a vertex buffer. By @andyleiserson in [#9791](https://github.com/gfx-rs/wgpu/pull/9791).
8484
- Fix required immediate slots calculation and remove `naga::valid::FunctionInfo::immediate_slots_used`. By @beicause in [#9725](https://github.com/gfx-rs/wgpu/pull/9725).
8585
- Fix `PendingSubmission` releasing its lock guards out of stacking order, which tripped `--cfg wgpu_validate_locks` on any submission. By @AdrianEddy in [#9960](https://github.com/gfx-rs/wgpu/pull/9960).
86+
- Fixed some cases where initialization tracking was not correct. By @andyleiserson in TBD.
8687

8788
#### naga
8889

Cargo.lock

Lines changed: 95 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ portable-atomic = "1.10"
178178
portable-atomic-util = "0.2.4"
179179
pp-rs = "0.2.1"
180180
profiling = { version = "1.0.1", default-features = false }
181+
# Limit to versions that use rand 0.8
182+
proptest = ">=1, <1.7"
181183
raw-window-handle = { version = "0.6.2", default-features = false }
182184
rayon = "1.3"
183185
regex-lite = "0.1"

wgpu-core/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,5 +211,8 @@ thiserror.workspace = true
211211
[target.'cfg(not(target_has_atomic = "64"))'.dependencies]
212212
portable-atomic = { workspace = true, optional = true }
213213

214+
[dev-dependencies]
215+
proptest.workspace = true
216+
214217
[build-dependencies]
215218
cfg_aliases.workspace = true

0 commit comments

Comments
 (0)