Commit 01f89dc
authored
webgpu: Use 32-bit element size for making heap view of requiredFeatures (emscripten-core#22868)
This ports https://dawn-review.googlesource.com/c/dawn/+/214094
It fixes `adapter.requestDevice` for wasm64 by using the correct value
to calculate the end of the view in HEAPU32 from `requiredFeaturesPtr`.
Earlier, the returned array was twice the actual size.1 parent 6e2417b commit 01f89dc
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2645 | 2645 | | |
2646 | 2646 | | |
2647 | 2647 | | |
2648 | | - | |
| 2648 | + | |
| 2649 | + | |
2649 | 2650 | | |
2650 | 2651 | | |
2651 | 2652 | | |
| |||
0 commit comments