Issue with shader compilation in ice with Nouveau driver
Mantis Issue 998, reported by mgrizonnet, assigned to ghost, created: 2014-12-22
It seems that there is something wrong in the last shader type in ice on my platform.
With the nouveau driver on Ubuntu (cf glxinfo attached), GLSL 1.30 seems available but the shader can't compile as it is complaining about the textureSize method.
I had to comment in ice the shader after line 141 to make it work:
http://hg.orfeo-toolbox.org/Ice/file/4661d3cf87bc/Code/otbStandardShader.cxx#l141
The GLSL version checker in ICE is wrong in my case or a more up to date version of GLSL is perhaps necessary to compile the last part of the shader.
1419257509 - grizonnetmNote that I don't exactly understand which implementation of textureSize function is implemented in GLSL 1.30.
1420554748 - grizonnetmfixed here:
http://hg.orfeo-toolbox.org/Ice/rev/ba0b1e02db6d
Upgrade GLSL version number from 1.30 to 1.40 to compile last shader which include textureSize function.