mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-12 06:52:38 +00:00
Add missing repr(C) on copy views
This commit is contained in:
parent
e4659b6d05
commit
4e1d76013c
@ -19,6 +19,7 @@ use std::iter;
|
||||
|
||||
pub(crate) const BITS_PER_BYTE: u32 = 8;
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Debug)]
|
||||
#[cfg_attr(feature = "trace", derive(serde::Serialize))]
|
||||
#[cfg_attr(feature = "replay", derive(serde::Deserialize))]
|
||||
@ -27,6 +28,7 @@ pub struct BufferCopyView {
|
||||
pub layout: TextureDataLayout,
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Clone, Debug)]
|
||||
#[cfg_attr(feature = "trace", derive(serde::Serialize))]
|
||||
#[cfg_attr(feature = "replay", derive(serde::Deserialize))]
|
||||
|
Loading…
Reference in New Issue
Block a user