-
Notifications
You must be signed in to change notification settings - Fork 115
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
Bump to latest wgpu-core #95
Conversation
almarklein
commented
May 12, 2021
•
edited
Loading
edited
- Bump to wgpu-core (gets newer Naga too).
- Some fixes to adjust to changes in wgpu-core.
- Implement missing pieces in bind groups and bind group layouts (only buffers were supported so far).
This is ready for review. Thanks for the help! |
There may be more regressions that I'll run into (e.g. #96), but can fit those in a new PR. I updated to the latest wgpu-core where naga was bumped to 25. In that PR you noted:
What exactly are the implications of that? |
Also fixed some (but not all) of the missing functions reported in #96 |
comparison: false, | ||
}, | ||
native::WGPUSamplerBindingType_Comparison => wgt::BindingType::Sampler { | ||
filtering: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should probably be true
here
pub unsafe extern "C" fn wgpuQueueWriteTexture( | ||
queue: id::QueueId, | ||
destination: native::WGPUImageCopyTexture, | ||
data: *const u8, // TODO: Check - this might not follow the header |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
header has *const c_void
basically. Probably fine then?
Great stuff, thank you! |