shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$gpu$shader$utils$removeStructAndGroupDuplicates = function(global, require, module, exports) { exports.removeStructAndGroupDuplicates = function(vertexStructsAndGroups, fragmentStructsAndGroups) { const structNameSet = new Set(), dupeGroupKeySet = new Set(), structs = [...vertexStructsAndGroups.structs, ...fragmentStructsAndGroups.structs].filter(struct => { if (structNameSet.has(struct.name)) { return !1; } structNameSet.add(struct.name); return !0; }); vertexStructsAndGroups = [...vertexStructsAndGroups.groups, ...fragmentStructsAndGroups.groups].filter(group => { group = `${group.name}-${group.binding}`; if (dupeGroupKeySet.has(group)) { return !1; } dupeGroupKeySet.add(group); return !0; }); return {structs, groups:vertexStructsAndGroups}; }; }; //# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$renderers$gpu$shader$utils$removeStructAndGroupDuplicates.js.map