gpu: implement Device.createSampler

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-18 17:49:30 -07:00 committed by Stephen Gutekanst
parent def801d8a1
commit 418d379f1c
3 changed files with 17 additions and 3 deletions

View file

@ -39,7 +39,8 @@ pub const BindingLayout = extern struct {
type: BindingType,
};
pub const Descriptor = struct {
pub const Descriptor = extern struct {
reserved: ?*anyopaque = null,
label: ?[*:0]const u8 = null,
address_mode_u: AddressMode,
address_mode_v: AddressMode,