فهرست منبع

Update builds.

sunag 1 سال پیش
والد
کامیت
7c3feb8e30
2فایلهای تغییر یافته به همراه3 افزوده شده و 24 حذف شده
  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();
 		const bindGroupsCache = this.getBingGroupsCache();
 
 
-		// cache individual uniforms group
+		//
 
 
 		const bindingsArray = [];
 		const bindingsArray = [];
 
 
@@ -48164,30 +48164,9 @@ class NodeBuilder {
 
 
 		for ( const binding of bindings ) {
 		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;
 
 
 		}
 		}
 
 

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
build/three.webgpu.min.js


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است