@luma.gl/engine 9.0.11 → 9.0.12

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/index.cjs CHANGED
@@ -750,8 +750,11 @@ var ShaderInputs = class {
750
750
  * @param modules
751
751
  */
752
752
  constructor(modules) {
753
- const allModules = (0, import_shadertools._resolveModules)(Object.values(modules));
754
- import_core5.log.log(1, "Creating ShaderInputs with modules", allModules.map((m) => m.name))();
753
+ const resolvedModules = (0, import_shadertools._resolveModules)(Object.values(modules).filter((module2) => module2.dependencies));
754
+ for (const resolvedModule of resolvedModules) {
755
+ modules[resolvedModule.name] = resolvedModule;
756
+ }
757
+ import_core5.log.log(1, "Creating ShaderInputs with modules", Object.keys(modules))();
755
758
  this.modules = modules;
756
759
  this.moduleUniforms = {};
757
760
  this.moduleBindings = {};