gpu: undef -> undefined (no longer a reserved keyword)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-06-30 19:06:10 -07:00
parent a6fa17e12a
commit 709d2f9875
4 changed files with 46 additions and 50 deletions

View file

@ -156,15 +156,15 @@ pub const Texture = opaque {
pub const BindingLayout = extern struct {
next_in_chain: ?*const ChainedStruct = null,
sample_type: SampleType = .undefined,
view_dimension: TextureView.Dimension = .dimension_undef,
view_dimension: TextureView.Dimension = .dimension_undefined,
multisampled: bool = false,
};
pub const DataLayout = extern struct {
next_in_chain: ?*const ChainedStruct = null,
offset: u64 = 0,
bytes_per_row: u32 = types.copy_stride_undef,
rows_per_image: u32 = types.copy_stride_undef,
bytes_per_row: u32 = types.copy_stride_undefined,
rows_per_image: u32 = types.copy_stride_undefined,
};
pub const Descriptor = extern struct {