gpu: implement Dawn samplerSetLabel
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
bb62ec7621
commit
cf1a022b98
1 changed files with 1 additions and 3 deletions
|
|
@ -1007,9 +1007,7 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn samplerSetLabel(sampler: *gpu.Sampler, label: [*:0]const u8) void {
|
pub inline fn samplerSetLabel(sampler: *gpu.Sampler, label: [*:0]const u8) void {
|
||||||
_ = sampler;
|
procs.samplerSetLabel.?(@ptrCast(c.WGPUSampler, sampler), label);
|
||||||
_ = label;
|
|
||||||
unreachable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn samplerReference(sampler: *gpu.Sampler) void {
|
pub inline fn samplerReference(sampler: *gpu.Sampler) void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue