gpu: add Texture.DataLayout

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-16 20:25:57 -07:00 committed by Stephen Gutekanst
parent 54b0ffdcc6
commit 2a50f3c3bd
2 changed files with 7 additions and 7 deletions

View file

@ -167,4 +167,11 @@ pub const Texture = enum(usize) {
view_dimension: TextureView.Dimension,
multisampled: bool,
};
pub const DataLayout = extern struct {
next_in_chain: *const ChainedStruct,
offset: u64,
bytes_per_row: u32,
rows_per_image: u32,
};
};