Skip to content
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

Rename buffer to encoder in wgpu_command_buffer_copy_* functions #299

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

yanchith
Copy link
Contributor

@yanchith yanchith commented Aug 20, 2019

This also regenerates wgpu.h and updates uses of wgpu_command_buffer_copy_buffer_to_buffer in compute/main.c.

EDIT: all good...
Note that I couldn't regenerate wgpu-remote.h because of the following cbindgen error:

ERROR: Cannot find a mangling for generic path GenericPath { path: Path { name: "Adapter" }, export_name: "Adapter", generics: [Path(GenericPath { path: Path { name: "Backend" }, export_name: "Backend", generics: [], ctype: None })], ctype: None }. This usually means that a type referenced by this generic was incompatible or not found.

Should we investigate before merging? Maybe I am just using an unlucky nightly?

Closes: #250

This also regenerates `wgpu.h` and updates uses of
`wgpu_command_buffer_copy_buffer_to_buffer` in `compute/main.c`
@kvark
Copy link
Member

kvark commented Aug 20, 2019

This cbindgen error is not stopping it from working. It generates headers fine on my end. Could you double check?

Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

@yanchith
Copy link
Contributor Author

Yep, you are right, it emits the file.

bors bot added a commit that referenced this pull request Aug 20, 2019
299: Rename buffer to encoder in wgpu_command_buffer_copy_* functions r=kvark a=yanchith

This also regenerates `wgpu.h` and updates uses of `wgpu_command_buffer_copy_buffer_to_buffer` in `compute/main.c`.

EDIT: all good...
~Note that I couldn't regenerate `wgpu-remote.h` because of the following cbindgen error:~

```
ERROR: Cannot find a mangling for generic path GenericPath { path: Path { name: "Adapter" }, export_name: "Adapter", generics: [Path(GenericPath { path: Path { name: "Backend" }, export_name: "Backend", generics: [], ctype: None })], ctype: None }. This usually means that a type referenced by this generic was incompatible or not found.
```

Should we investigate before merging? Maybe I am just using an unlucky nightly?

Closes: #250 

Co-authored-by: yanchith <[email protected]>
@bors
Copy link
Contributor

bors bot commented Aug 20, 2019

Build succeeded

@bors bors bot merged commit 3abaed3 into gfx-rs:master Aug 20, 2019
@yanchith yanchith deleted the rename-buffer-to-encoder branch August 20, 2019 21:20
kvark added a commit to kvark/wgpu that referenced this pull request Jun 3, 2021
300: Properly free pass contents r=kvark a=kvark

Fixes gfx-rs#299

Co-authored-by: Dzmitry Malyshau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WGPUCommandBufferId vs. WGPUCommandEncoderId
2 participants