Hi,
I have attempted to update the project to a recent version of wgpu (v0.25+), but I've encountered synchronization issues and test failures related to the device.poll API changes. The Maintain enum has been removed in favor of PollType, and a naive replacement seems to be insufficient.
Problem
The core issue appears to be a change in how asynchronous operations are handled in wgpu.
Steps to Reproduce
- Update the wgpu dependency in Cargo.toml to a recent version.
- Change
device.poll(Maintain::_) to device.poll(PollType::_).
- Run the tests.
The tests fail, and the code sometimes produce incorrect results.
Thank you for publishing this valuable project!
Hi,
I have attempted to update the project to a recent version of wgpu (
v0.25+), but I've encountered synchronization issues and test failures related to thedevice.pollAPI changes. TheMaintainenum has been removed in favor ofPollType, and a naive replacement seems to be insufficient.Problem
The core issue appears to be a change in how asynchronous operations are handled in wgpu.
Steps to Reproduce
device.poll(Maintain::_)todevice.poll(PollType::_).The tests fail, and the code sometimes produce incorrect results.
Thank you for publishing this valuable project!