ソースを参照

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'
 
 };