I don't mind barking, I think it's great - but crashing the application is not acceptable.
The thing is, lots of these weird things happen in more complicated shaders, not in simple test cases.
I don't mind barking, I think it's great - but crashing the application is not acceptable.
The thing is, lots of these weird things happen in more complicated shaders, not in simple test cases.
Knackered
vec3 v(1, 1, 1) seems to work fine on my GLSL compiler (6800GT & 78.01). I have tried such syntax with older driver versions and older hardware (FX5700 ultra). ATI on the other hand did not compile the shader properly and in accordance with opengl specs.
As for crashing, are you sure that the compile crashes your application or the usage of the shader later on in the application?
Zulfiqar Inayat Malik.
Senior Developer, The Foundry.
I compile on first usage. It was the compile that crashed.
I can't believe people haven't experienced similar problems in arbitary shaders.
Knackered