mach/gpu/src/query_set.zig
Stephen Gutekanst 3d0051e720 gpu: convert QuerySet from enum(usize) to *opaque
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00

14 lines
472 B
Zig

const ChainedStruct = @import("types.zig").ChainedStruct;
const PipelineStatisticName = @import("types.zig").PipelineStatisticName;
const QueryType = @import("types.zig").QueryType;
pub const QuerySet = *opaque {};
pub const QuerySetDescriptor = extern struct {
next_in_chain: *const ChainedStruct,
label: ?[*:0]const u8 = null,
type: QueryType,
count: u32,
pipeline_statistics: [*]const PipelineStatisticName,
pipeline_statistics_count: u32,
};