fixing lots of copy tests issues
This commit is contained in:
@@ -891,12 +891,7 @@ pub export fn strollCreateGraphicsPipelines(p_device: vk.Device, p_cache: vk.Pip
|
||||
// error code. The implementation will attempt to create all pipelines, and
|
||||
// only return VK_NULL_HANDLE values for those that actually failed."
|
||||
p_pipeline.*, const local_res = blk: {
|
||||
const pipeline = device.createGraphicsPipeline(allocator, cache, info) catch |err| {
|
||||
if (@errorReturnTrace()) |trace| {
|
||||
std.debug.dumpErrorReturnTrace(trace);
|
||||
}
|
||||
break :blk .{ .null_handle, toVkResult(err) };
|
||||
};
|
||||
const pipeline = device.createGraphicsPipeline(allocator, cache, info) catch |err| break :blk .{ .null_handle, toVkResult(err) };
|
||||
const handle = NonDispatchable(Pipeline).wrap(allocator, pipeline) catch |err| {
|
||||
pipeline.destroy(allocator);
|
||||
break :blk .{ .null_handle, toVkResult(err) };
|
||||
|
||||
Reference in New Issue
Block a user