소스 검색

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