gpu: implement Dawn querySetGetType
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
1968805596
commit
7c5bbe103f
1 changed files with 1 additions and 2 deletions
|
|
@ -667,8 +667,7 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn querySetGetType(query_set: *gpu.QuerySet) gpu.QueryType {
|
||||
_ = query_set;
|
||||
unreachable;
|
||||
return @intToEnum(gpu.QueryType, procs.querySetGetType.?(@ptrCast(c.WGPUQuerySet, query_set)));
|
||||
}
|
||||
|
||||
pub inline fn querySetSetLabel(query_set: *gpu.QuerySet, label: [*:0]const u8) void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue