Ver código fonte

WGSLNodeFunction: Add missing WGSL-TSL type entry. (#34099)

Michael Herzog 1 dia atrás
pai
commit
273129772a
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      src/renderers/webgpu/nodes/WGSLNodeFunction.js

+ 1 - 0
src/renderers/webgpu/nodes/WGSLNodeFunction.js

@@ -50,6 +50,7 @@ const wgslTypeLib = {
 	'mat4x4f': 'mat4',
 
 	'sampler': 'sampler',
+	'sampler_comparison': 'samplerComparison',
 
 	'texture_1d': 'texture',
 

粤ICP备19079148号