wgsl-renderer 0.1.5 → 0.1.6
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/cjs/index.js +0 -13
- package/dist/esm/index.js +0 -13
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -597,19 +597,6 @@ var WGSLRenderer = class {
|
|
|
597
597
|
});
|
|
598
598
|
});
|
|
599
599
|
pass.updateBindGroup(finalBindGroupEntries);
|
|
600
|
-
if (pass.descriptor && pass.descriptor.bindGroupSets) for (const [setName, resources] of Object.entries(pass.descriptor.bindGroupSets)) {
|
|
601
|
-
const entries = [];
|
|
602
|
-
resources.forEach((resource, index) => {
|
|
603
|
-
if (resource) {
|
|
604
|
-
const resolved = this.resolveResource(resource);
|
|
605
|
-
entries.push({
|
|
606
|
-
binding: index,
|
|
607
|
-
resource: resolved
|
|
608
|
-
});
|
|
609
|
-
}
|
|
610
|
-
});
|
|
611
|
-
pass.updateBindGroupSet(setName, entries);
|
|
612
|
-
}
|
|
613
600
|
});
|
|
614
601
|
}
|
|
615
602
|
/**
|
package/dist/esm/index.js
CHANGED
|
@@ -596,19 +596,6 @@ var WGSLRenderer = class {
|
|
|
596
596
|
});
|
|
597
597
|
});
|
|
598
598
|
pass.updateBindGroup(finalBindGroupEntries);
|
|
599
|
-
if (pass.descriptor && pass.descriptor.bindGroupSets) for (const [setName, resources] of Object.entries(pass.descriptor.bindGroupSets)) {
|
|
600
|
-
const entries = [];
|
|
601
|
-
resources.forEach((resource, index) => {
|
|
602
|
-
if (resource) {
|
|
603
|
-
const resolved = this.resolveResource(resource);
|
|
604
|
-
entries.push({
|
|
605
|
-
binding: index,
|
|
606
|
-
resource: resolved
|
|
607
|
-
});
|
|
608
|
-
}
|
|
609
|
-
});
|
|
610
|
-
pass.updateBindGroupSet(setName, entries);
|
|
611
|
-
}
|
|
612
599
|
});
|
|
613
600
|
}
|
|
614
601
|
/**
|