File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ class NodeBuilder {
494494
495495 isReference ( type ) {
496496
497- return type === 'void' || type === 'property' || type === 'sampler' || type === 'texture' || type === 'cubeTexture' || type === 'storageTexture' || type === 'texture3D' ;
497+ return type === 'void' || type === 'property' || type === 'sampler' || type === 'texture' || type === 'cubeTexture' || type === 'storageTexture' || type === 'depthTexture' || type === ' texture3D';
498498
499499 }
500500
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ const wgslTypeLib = {
5151
5252 'sampler' : 'sampler' ,
5353 'texture_2d' : 'texture' ,
54- 'texture_cube' : 'textureCube ' ,
55- 'texture_depth_2d' : 'textureDepth ' ,
54+ 'texture_cube' : 'cubeTexture ' ,
55+ 'texture_depth_2d' : 'depthTexture ' ,
5656 'texture_storage_2d' : 'storageTexture' ,
5757 'texture_3d' : 'texture3D'
5858
You can’t perform that action at this time.
0 commit comments