mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 15:31:03 +01:00
Rename buffer to encoder in wgpu_command_buffer_copy_* functions
This also regenerates `wgpu.h` and updates uses of `wgpu_command_buffer_copy_buffer_to_buffer` in `compute/main.c`
This commit is contained in:
1 parent
cb56ce3a0a
commit
3abaed36c3
3 files changed
+72
-72
No files matched your search
@@ -102,7 +102,7 @@ int main(
|
||||
.todo = 0
|
||||
});
|
||||
|
||||
wgpu_command_buffer_copy_buffer_to_buffer(
|
||||
wgpu_command_encoder_copy_buffer_to_buffer(
|
||||
encoder, staging_buffer, 0, storage_buffer, 0, size);
|
||||
|
||||
WGPUComputePassId command_pass =
|
||||
@@ -113,7 +113,7 @@ int main(
|
||||
wgpu_compute_pass_dispatch(command_pass, numbers_length, 1, 1);
|
||||
wgpu_compute_pass_end_pass(command_pass);
|
||||
|
||||
wgpu_command_buffer_copy_buffer_to_buffer(
|
||||
wgpu_command_encoder_copy_buffer_to_buffer(
|
||||
encoder, storage_buffer, 0, staging_buffer, 0, size);
|
||||
|
||||
WGPUQueueId queue = wgpu_device_get_queue(device);
|
||||
|
||||
Reference in new issue
Block a user