Explorar el Código

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

Christian Helgeson hace 1 año
padre
commit
d208680ef1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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_cube': 'textureCube',
 	'texture_depth_2d': 'textureDepth',
-	'texture_storage_2d': 'textureStorage',
+	'texture_storage_2d': 'storageTexture',
 	'texture_3d': 'texture3D'
 
 };