gpu: implement Device.createSampler
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
def801d8a1
commit
418d379f1c
3 changed files with 17 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue