Error messages showing wrong line numbers
I am working on a shader, and I got the following error message
But the error is somewhere after line 300, and there is nothing that could cause the error in the lines from the error message.
3 Replies
This is what OptiFine in 1.12 tells me
I think you might get more help in shader labs
iris' patcher currently doesn't prevent line numbers. Iirc there's a jvm flag you can use to make iris dump the patched shaders so you can see the file that's actually loaded and for which the line numbers are correct