-
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
Windows DLLs missing functions. #96
Comments
This is due the fact that the code is now generated from the webgpu headers (instead of the other way around). Not sure what the implications for the missing destroy functions are, but I assume the resources are cleaned up automatically. I think |
Here is a full list of exported functions. For queue there are only wgpuQueueSubmit and wgpuQueueWriteBuffer. wgpuQueueOnSubmittedWorkDone and wgpuQueueWriteTexture are missing. |
It appears those functions haven't been ported since #85 wgpuQueueSubmit and wgpuQueueWriteBuffer are defined here: Lines 287 to 309 in b405590
|
#246 somewhat fixed this, now all functions present in the headers should be exported by the lib. wgpu-native/src/unimplemented.rs Line 1 in 6f95ce3
So I think we should have a separate issues for implementing each of those functions, or group of similar functions. |
In v0.7.0.2 some functions are missing in dll/lib, for example wgpuQueueWriteTexture, wgpuBufferDestroy and wgpuTextureDestroy.
There are wgpu_buffer_destroy and wgpu_texture_destroy in dll exports, along with some others snake_case names from previous versions like wgpu_render_pass_draw, wgpu_render_pass_draw_indexed. But there is no header for them.
The text was updated successfully, but these errors were encountered: