gpu: update TextureBindingLayout defaults/optionality
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
638619b7ea
commit
5d6c0f9930
1 changed files with 3 additions and 3 deletions
|
|
@ -215,9 +215,9 @@ pub const TextureUsageFlags = packed struct {
|
||||||
|
|
||||||
pub const TextureBindingLayout = extern struct {
|
pub const TextureBindingLayout = extern struct {
|
||||||
next_in_chain: *const ChainedStruct,
|
next_in_chain: *const ChainedStruct,
|
||||||
sample_type: TextureSampleType,
|
sample_type: TextureSampleType = .undef,
|
||||||
view_dimension: TextureViewDimension,
|
view_dimension: TextureViewDimension = .dimension_undef,
|
||||||
multisampled: bool,
|
multisampled: bool = false,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const TextureDataLayout = extern struct {
|
pub const TextureDataLayout = extern struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue