gpu: update defaults/optionality for QuerySetDescriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-27 09:58:03 -07:00 committed by Stephen Gutekanst
parent 9a5ae0c80f
commit b89ee0361b

View file

@ -35,6 +35,6 @@ pub const QuerySetDescriptor = extern struct {
type: QueryType,
count: u32,
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
pipeline_statistics: ?[*]const PipelineStatisticName,
pipeline_statistics_count: u32,
pipeline_statistics: ?[*]const PipelineStatisticName = null,
pipeline_statistics_count: u32 = 0,
};