sergey.pozhidaev Posted September 21, 2015 Posted September 21, 2015 hi, in all cases if occurs syntax error in shader - application freezes, and OS, how fix it?
helmut.bressler Posted September 21, 2015 Posted September 21, 2015 Hello, I also have this issue here on my working computer under DX11, after a couple of frames. I could imagine it has also something to do with the graphics driver. Anyways, the way I'm dealing with it is: I load the application and terminate it immediately afterwards, with the following code in my update() function: if(engine.game.getFrame() > 2) { engine.console.run("quit"); } Then I check the error log and start again, until all shader compiler errors are ironed out. cheers Helmut
sergey.pozhidaev Posted September 22, 2015 Author Posted September 22, 2015 i done like this with Shader class, but this class compiler need to make all includes with absolute path
Recommended Posts