EquiRectangularCubeTexture WebGPU error

The following is the example from BABYLON documentation (Reflections and Refractions)

https://playground.babylonjs.com/#RY8LDL#32

It shows a lot of WebGPU errors. Any attempt to making an EquiRectangularCubeTexture does not work with WebGPU.

Is this a bug, or is it not working with WebGPU?
How to make it work?

(I hope not, as it is so useful, jpg env maps are much smaller and easier to create, and can be prefiltered.)

cc @Evgeni_Popov

This PR will fix the problem:

4 Likes