Jump to content

Shader Compilation Error


photo

Recommended Posts

Posted

hi, in all cases if occurs syntax error in shader - application freezes, and OS, how fix it?

Posted

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

Posted

i done like this with Shader class, but this class compiler need to make all includes with absolute path

×
×
  • Create New...