mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 06:21:13 +01:00
fix(core): s/COPY_SRC/COPY_DST/ for first transition in external texture init. (#8760)
This commit is contained in:
1 parent
42582cdb1b
commit
bdf7d9bb5d
1 file changed
+1
-1
@@ -567,7 +567,7 @@ impl Device {
|
||||
buffer: params_buffer,
|
||||
usage: hal::StateTransition {
|
||||
from: wgt::BufferUses::MAP_WRITE,
|
||||
to: wgt::BufferUses::COPY_SRC,
|
||||
to: wgt::BufferUses::COPY_DST,
|
||||
},
|
||||
}]);
|
||||
pending_writes.command_encoder.copy_buffer_to_buffer(
|
||||
|
||||
Reference in new issue
Block a user