WebGPU Compute Shader - Manual sampler creation bug

Hi, I tried manually creating a texture sampler for my compute shader, but doing this (following the docs) seems to break the shader. Perhaps I’m missing some detail in how to set up and bind texture samplers? Or is this just a bug?

Playground: https://playground.babylonjs.com/?webgpu#3URR7V#307

1 Like

cc @Evgeni_Popov

When using a custom sampler, you must pass false as the 3rd parameter of setTexture (see Babylon.js docs). Also, you passed a wrong binding number line 15:

Damn it… Thanks :stuck_out_tongue: