gpu: correct RenderPassDescriptor.occlusion_query_set nullability
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
9f4a93cbef
commit
14b28600af
1 changed files with 1 additions and 2 deletions
|
|
@ -66,8 +66,7 @@ pub const RenderPassDescriptor = extern struct {
|
||||||
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
||||||
color_attachments: ?[*]const RenderPassColorAttachment,
|
color_attachments: ?[*]const RenderPassColorAttachment,
|
||||||
depth_stencil_attachment: ?[*]const RenderPassDepthStencilAttachment,
|
depth_stencil_attachment: ?[*]const RenderPassDepthStencilAttachment,
|
||||||
// TODO: file a bug on Dawn, should this be nullable? Seems very likely it should
|
occlusion_query_set: ?*QuerySet = null,
|
||||||
occlusion_query_set: ?*QuerySet,
|
|
||||||
timestamp_write_count: u32 = 0,
|
timestamp_write_count: u32 = 0,
|
||||||
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
||||||
timestamp_writes: ?[*]const RenderPassTimestampWrite = null,
|
timestamp_writes: ?[*]const RenderPassTimestampWrite = null,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue