gpu: correct Adapter.Properties.backend_type field
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3ff682956f
commit
a008f96315
2 changed files with 3 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ const Device = @import("device.zig").Device;
|
|||
const FeatureName = @import("types.zig").FeatureName;
|
||||
const SupportedLimits = @import("types.zig").SupportedLimits;
|
||||
const RequestDeviceStatus = @import("types.zig").RequestDeviceStatus;
|
||||
const BackendType = @import("types.zig").BackendType;
|
||||
const RequestDeviceCallback = @import("callbacks.zig").RequestDeviceCallback;
|
||||
const Impl = @import("interface.zig").Impl;
|
||||
|
||||
|
|
@ -33,7 +34,7 @@ pub const Adapter = opaque {
|
|||
name: [*:0]const u8,
|
||||
driver_description: [*:0]const u8,
|
||||
adapter_type: Type,
|
||||
backend_type: Type,
|
||||
backend_type: BackendType,
|
||||
};
|
||||
|
||||
pub inline fn createDevice(adapter: *Adapter, descriptor: ?*const Device.Descriptor) ?*Device {
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ pub const RenderPassDescriptor = extern struct {
|
|||
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
||||
color_attachments: ?[*]const RenderPassColorAttachment,
|
||||
depth_stencil_attachment: ?[*]const RenderPassDepthStencilAttachment,
|
||||
// TODO: file a bug on Dawn, should this be nullable? Seems very likely it should
|
||||
occlusion_query_set: ?*QuerySet,
|
||||
timestamp_write_count: u32 = 0,
|
||||
// TODO: file a bug on Dawn, this is not marked as nullable but in fact is.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue