fixing linter errors
This commit is contained in:
@@ -83,6 +83,7 @@ pub fn initCompute(device: *Device, allocator: std.mem.Allocator, cache: ?*Pipel
|
||||
|
||||
return .{
|
||||
.owner = device,
|
||||
// SAFETY: the backend assigns the vtable before returning the compute pipeline.
|
||||
.vtable = undefined,
|
||||
.bind_point = .compute,
|
||||
.stages = info.stage.stage,
|
||||
@@ -132,6 +133,7 @@ pub fn initGraphics(device: *Device, allocator: std.mem.Allocator, cache: ?*Pipe
|
||||
|
||||
return .{
|
||||
.owner = device,
|
||||
// SAFETY: the backend assigns the vtable before returning the graphics pipeline.
|
||||
.vtable = undefined,
|
||||
.bind_point = .graphics,
|
||||
.stages = stages,
|
||||
|
||||
Reference in New Issue
Block a user