gpu: implement Dawn samplerReference
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
5c1f71834d
commit
c40a5ea50d
1 changed files with 1 additions and 2 deletions
|
|
@ -1045,8 +1045,7 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn samplerReference(sampler: *gpu.Sampler) void {
|
||||
_ = sampler;
|
||||
unreachable;
|
||||
procs.samplerReference.?(@ptrCast(c.WGPUSampler, sampler));
|
||||
}
|
||||
|
||||
pub inline fn samplerRelease(sampler: *gpu.Sampler) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue