gpu: implement Queue.writeTexture
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
67a0f60a68
commit
991c88d851
3 changed files with 63 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue