Browse Source

Update builds.

sunag 1 year ago
parent
commit
7c3feb8e30
2 changed files with 3 additions and 24 deletions
  1. 3 24
      build/three.webgpu.js
  2. 0 0
      build/three.webgpu.min.js

+ 3 - 24
build/three.webgpu.js

@@ -48156,7 +48156,7 @@ class NodeBuilder {
 
 		const bindGroupsCache = this.getBingGroupsCache();
 
-		// cache individual uniforms group
+		//
 
 		const bindingsArray = [];
 
@@ -48164,30 +48164,9 @@ class NodeBuilder {
 
 		for ( const binding of bindings ) {
 
-			if ( binding.groupNode.shared === true ) {
-
-				// nodes is the chainmap key
-				const nodes = binding.getNodes();
-
-				let sharedBinding = bindGroupsCache.get( nodes );
-
-				if ( sharedBinding === undefined ) {
-
-					bindGroupsCache.set( nodes, binding );
-
-					sharedBinding = binding;
-
-				}
-
-				bindingsArray.push( sharedBinding );
-
-			} else {
+			bindingsArray.push( binding );
 
-				bindingsArray.push( binding );
-
-				sharedGroup = false;
-
-			}
+			sharedGroup = sharedGroup && binding.groupNode.shared !== true;
 
 		}
 

File diff suppressed because it is too large
+ 0 - 0
build/three.webgpu.min.js


Some files were not shown because too many files changed in this diff