2
0
Эх сурвалжийг харах

dev-storagearrayelement-cleanup

sunag 1 жил өмнө
parent
commit
9e48d184a1

+ 0 - 6
examples/jsm/nodes/utils/ArrayElementNode.js

@@ -24,12 +24,6 @@ class ArrayElementNode extends Node { // @TODO: If extending from TempNode it br
 		const nodeSnippet = this.node.build( builder );
 		const indexSnippet = this.indexNode.build( builder, 'uint' );
 
-		if ( this.node.isStorageBufferNode && ! builder.isAvailable( 'storageBuffer' ) ) {
-
-			return nodeSnippet;
-
-		}
-
 		return `${nodeSnippet}[ ${indexSnippet} ]`;
 
 	}