Skip to content

Commit c5aa155

Browse files
WIP: fix(core): s/COPY_SRC/COPY_DST/ for first transition in external texture init.
TODO: test this, can I reproduce an issue with this?
1 parent c5e460f commit c5aa155

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wgpu-core/src/device/resource.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ impl Device {
567567
buffer: params_buffer,
568568
usage: hal::StateTransition {
569569
from: wgt::BufferUses::MAP_WRITE,
570-
to: wgt::BufferUses::COPY_SRC,
570+
to: wgt::BufferUses::COPY_DST,
571571
},
572572
}]);
573573
pending_writes.command_encoder.copy_buffer_to_buffer(

0 commit comments

Comments
 (0)