Преглед на файлове

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

Christian Helgeson преди 1 година
родител
ревизия
d208680ef1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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'
 
 };