glLinkProgram crash on Intel

Started by
9 comments, last by Hodgman 8 years, 8 months ago
Do you check for errors when compiling the shaders?
If you ignore any compilation errors, then I would expect the linking stage to crash in the driver, because you'll be feeding invalid data into the driver...

But how is it possible that it works correctly on two amd gpus(hd 7770, windows 10; hd 6470,. windows 7)? And both produces correct images?
If there were any mismatch between vertex and pixel shader there would be an error on amd gpus or at least they would produce incorrect image.

OpenGL is just a text document, specifying how drivers *should* behave. Sadly, in practice, no driver strictly follows every word of the specification...

NVidia in particular are famous for accepting blatantly invalid GLSL code and compiling it anyway. So it's very important to test your GL applications on every different graphics card driver that your customers might use :(

This topic is closed to new replies.

Advertisement