removing weird free
This commit is contained in:
+1
-1
@@ -1315,7 +1315,7 @@ fn opAccessChain(allocator: std.mem.Allocator, word_count: SpvWord, rt: *Runtime
|
|||||||
if (a.indexes.len != index_count)
|
if (a.indexes.len != index_count)
|
||||||
return RuntimeError.InvalidSpirV;
|
return RuntimeError.InvalidSpirV;
|
||||||
try a.value.flushPtr(allocator);
|
try a.value.flushPtr(allocator);
|
||||||
a.value.deinit(allocator);
|
//a.value.deinit(allocator);
|
||||||
break :blk .{ a.indexes, false };
|
break :blk .{ a.indexes, false };
|
||||||
},
|
},
|
||||||
else => {},
|
else => {},
|
||||||
|
|||||||
Reference in New Issue
Block a user