Page 1 of 1

4.1.3 Shader Crash

Posted: Mon Jun 10, 2019 2:24 pm
by Rip and Tear
Starting in version 4.1.3, the game crashes immediately upon trying to load in to a map.

OS: MacOS 10.14.5
Graphics: Intel Iris Pro


Here's the complete error:

Code: Select all

Execution could not continue.
Compile Shader 'shaders/glsl/fxaa.fp':
ERROR: 0:250: '' : syntax error: incorrect preprocessor directive
ERROR: 0:250: '' : syntax error: unexpected tokens following #if preprocessor directive - expected a newline
ERROR: 0:265: '' : syntax error: incorrect preprocessor directive
ERROR: 0:265: '' : syntax error: unexpected tokens following #if preprocessor directive - expected a newline
ERROR: 0:266: '' :   Macro Redefined lumaM
ERROR: 0:301: '' : syntax error: incorrect preprocessor directive
ERROR: 0:301: '' : syntax error: unexpected tokens following #if preprocessor directive - expected a newline
ERROR: 0:599: '' : syntax error: incorrect preprocessor directive
ERROR: 0:599: '' : syntax error: unexpected tokens following #if preprocessor directive - expected a newline

Re: 4.1.3 Shader Crash

Posted: Mon Jun 10, 2019 11:22 pm
by _mental_
Fixed in b6ada16. It fails to compile with OpenGL only, works fine with Vulkan render backend.