Closed human-0 closed 6 years ago
Interesting OpenGL shader compiler error!
Even this one line geometry shader
void main() { gl_Position = vertex0+vec4(gl_in.gl_Position[0]); }
kills the compiler. I now catch this exception and give an error message and squiggle. The error message is just a general shader compieler has crashed. I was able to continue editing the shader afterwards, but this is a serious exception, which could kill the whole OpenGL context in a different driver version.
Thanks! It all works correctly now and I can fix the silly mistake in the shader!
Installed product versions
Description
When opening a particular geometry shader, Visual Studio instantly crashes with the error: System.AccessViolationException (Trying to read protected data).
Steps to recreate
Current behavior
Visual studio crashes. It did not crash during the creation of the file
Expected behavior
It should be working as normal.