gpu: Add default values for some structs (taken from the spec). (#218)
Helps hexops/mach#182
This commit is contained in:
parent
02e357ab44
commit
fe8e0e7c98
3 changed files with 43 additions and 42 deletions
|
|
@ -218,7 +218,7 @@ pub const BindingLayout = extern struct {
|
|||
|
||||
pub const DataLayout = extern struct {
|
||||
reserved: ?*anyopaque = null,
|
||||
offset: u64,
|
||||
offset: u64 = 0,
|
||||
bytes_per_row: u32,
|
||||
rows_per_image: u32,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue