gpu: correct RenderPassDescriptor.depth_stencil_attachment pointer type

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-11 14:04:13 -07:00 committed by Stephen Gutekanst
parent e6c0256d4b
commit e26ec2a685

View file

@ -60,7 +60,7 @@ pub const RenderPassDescriptor = extern struct {
label: ?[*:0]const u8 = null,
color_attachment_count: u32 = 0,
color_attachments: ?[*]const RenderPassColorAttachment = null,
depth_stencil_attachment: ?[*]const RenderPassDepthStencilAttachment = null,
depth_stencil_attachment: ?*const RenderPassDepthStencilAttachment = null,
occlusion_query_set: ?*QuerySet = null,
timestamp_write_count: u32 = 0,
timestamp_writes: ?[*]const RenderPassTimestampWrite = null,