gpu: implement Queue.writeTexture

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-18 23:25:31 -07:00 committed by Stephen Gutekanst
parent 67a0f60a68
commit 991c88d851
3 changed files with 63 additions and 4 deletions

View file

@ -195,7 +195,8 @@ pub const BindingLayout = extern struct {
multisampled: bool,
};
pub const DataLayout = struct {
pub const DataLayout = extern struct {
reserved: ?*anyopaque = null,
offset: u64,
bytes_per_row: u32,
rows_per_image: u32,