update synchronization, fix last errors in wgc

This commit is contained in:
Dzmitry Malyshau committed 2021-06-08 02:03:44 -04:00
1 parent 0a82c232ba
commit ff2a3e84fc
16 files changed
+253 -255

No files matched your search

-2
View File
@@ -538,7 +538,6 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
}),
);
let (block_width, _) = format_desc.block_dimensions;
if !conv::is_valid_copy_dst_texture_format(dst_texture.desc.format) {
return Err(
TransferError::CopyToForbiddenTextureFormat(dst_texture.desc.format).into(),
@@ -653,7 +652,6 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
true,
)?;
let (block_width, _) = format_desc.block_dimensions;
if !conv::is_valid_copy_src_texture_format(src_texture.desc.format) {
return Err(
TransferError::CopyFromForbiddenTextureFormat(src_texture.desc.format).into(),