pngine 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +0 -16
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1769,7 +1769,6 @@ var addBindGroup = (result, node, context, i) => {
|
|
|
1769
1769
|
});
|
|
1770
1770
|
};
|
|
1771
1771
|
var addPooledBindGroup = (result, node, context, i, poolSize, poolOffset) => {
|
|
1772
|
-
console.log("POOLED BOIND GROUP");
|
|
1773
1772
|
result.push({
|
|
1774
1773
|
f: "setBindGroup",
|
|
1775
1774
|
args: parsePooledBindGroup(node, context, i, poolSize, poolOffset)
|
|
@@ -2231,15 +2230,6 @@ function parseRenderPass({
|
|
|
2231
2230
|
const vertexBuffers = array(renderPass.vertexBuffers);
|
|
2232
2231
|
const vertexBuffersPoolOffsets = renderPass.vertexBuffersPoolOffsets ? array(renderPass.vertexBuffersPoolOffsets) : [];
|
|
2233
2232
|
vertexBuffers.forEach((vb, i) => {
|
|
2234
|
-
console.log(
|
|
2235
|
-
"OFFSET FOR ",
|
|
2236
|
-
vb.name || vb,
|
|
2237
|
-
"is",
|
|
2238
|
-
vertexBuffersPoolOffsets.at(i) ?? 0,
|
|
2239
|
-
"i",
|
|
2240
|
-
i,
|
|
2241
|
-
renderPass
|
|
2242
|
-
);
|
|
2243
2233
|
context2.buffersPool && context2.buffersPool.size > 0 && context2.buffersPool.has(vb.name || vb) ? addPooledVertexBuffer(
|
|
2244
2234
|
result2,
|
|
2245
2235
|
vb,
|
|
@@ -5870,12 +5860,6 @@ async function compressArrayBuffer(buffer, format = "gzip") {
|
|
|
5870
5860
|
const cs = new CompressionStream(format);
|
|
5871
5861
|
const compressedStream = new Blob([buffer]).stream().pipeThrough(cs);
|
|
5872
5862
|
const compressedBuffer = await new Response(compressedStream).arrayBuffer();
|
|
5873
|
-
console.log(
|
|
5874
|
-
"Got compressed Buffer",
|
|
5875
|
-
compressedBuffer.byteLength,
|
|
5876
|
-
"Original had:",
|
|
5877
|
-
buffer.byteLength
|
|
5878
|
-
);
|
|
5879
5863
|
return compressedBuffer;
|
|
5880
5864
|
}
|
|
5881
5865
|
|