Browse Source

TSL: Fix issue in wgslFn alias revision (#28686)

Christian Helgeson 1 year ago
parent
commit
d208680ef1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/renderers/webgpu/nodes/WGSLNodeFunction.js

+ 1 - 1
examples/jsm/renderers/webgpu/nodes/WGSLNodeFunction.js

@@ -53,7 +53,7 @@ const wgslTypeLib = {
 	'texture_2d': 'texture',
 	'texture_2d': 'texture',
 	'texture_cube': 'textureCube',
 	'texture_cube': 'textureCube',
 	'texture_depth_2d': 'textureDepth',
 	'texture_depth_2d': 'textureDepth',
-	'texture_storage_2d': 'textureStorage',
+	'texture_storage_2d': 'storageTexture',
 	'texture_3d': 'texture3D'
 	'texture_3d': 'texture3D'
 
 
 };
 };