|
@@ -128,18 +128,18 @@ class Bindings extends DataMap {
|
|
|
|
|
|
} else if ( binding.isSampledTexture ) {
|
|
|
|
|
|
- const texture = binding.texture;
|
|
|
-
|
|
|
- if ( binding.needsBindingsUpdate ) needsBindingsUpdate = true;
|
|
|
-
|
|
|
const updated = binding.update();
|
|
|
|
|
|
if ( updated ) {
|
|
|
|
|
|
this.textures.updateTexture( binding.texture );
|
|
|
|
|
|
+ needsBindingsUpdate = true;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
+ const texture = binding.texture;
|
|
|
+
|
|
|
if ( texture.isStorageTexture === true ) {
|
|
|
|
|
|
const textureData = this.get( texture );
|