engine.createComputeContext is not a function

{7D49B176-C285-4657-B4BD-0A43C8A1FA49}

Is there a flag I need to use to enable this in the webGPU engine?

nope :slight_smile: but maybe you are missing an import? cc @Evgeni_Popov

I’m not sure what it was, I tried from scratch and it worked.

2 Likes

Hmm, I was able to make it happen again and I’m not sure how.

The solution to the first problem seems to be this missing import:

import "@babylonjs/core/Engines/WebGPU/Extensions/engine.computeShader";
1 Like