Open LeStahL opened 1 month ago
There is an easy workaround that fixes this:
You can add #line 2
to the very first line of your shader source.
oh interesting, i did not know about this...
i am thinking about having a internal system that adds comments to each line. so you can later know which line was which in different shadermodules, that get combined into one big shader.
Reproduce using the op below, which has an error in line 5:
The error is displayed as
I use the version at https://cables.gl/ to reproduce.