gpu: implement Dawn querySetGetCount

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 17:29:06 -07:00 committed by Stephen Gutekanst
parent 7c5bbe103f
commit 367ebfc041

View file

@ -662,8 +662,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn querySetGetCount(query_set: *gpu.QuerySet) u32 {
_ = query_set;
unreachable;
return procs.querySetGetCount.?(@ptrCast(c.WGPUQuerySet, query_set));
}
pub inline fn querySetGetType(query_set: *gpu.QuerySet) gpu.QueryType {