<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
</div>Note that locale "" should be your current locale (french)</blockquote><div> </div><div>Yup in first email: <br>echo $LANG<br>fr_FR.UTF-8<br>and same result with locale "". <br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So it could that the shader is just validated when you call<br>
glCompileShader and actually compiled when you use it for the first<br>
time.</blockquote><div><br>I am attaching to this mail a new testcase. It shows that calling glUseProgramObjectARB (p); is not enough to have the shader effectivelly compiled. I have added an empty call to glBegin/glEnd(). (maybe an other call to gl would be better)<br>
<br>So I can first call set locale "C" then compile/link the shader then call an empty glBegin/glEnd() then restore locale to "".<br><br>Maybe we should do the same thing in gstglshader.c (as in this second test case attached to this mail) instead of doing the fix I have just commited some minutes ago.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
It would be interesting to see the output of shader compilation. With<br>
nvidia there are a couple of environment variables to see the result<br>
(assembly) of glsl parsing. Is there anything similar with ATI?<br>
Anyway if vec4 (1.0, 0.9, 0.1, 1.0) becomes vec4 (1,0,0,9,0,1,1,0) it<br>
is still valid GLSL code so it would explain why infolog contains no<br>
error.</blockquote><div><br>I have to find them. What are they for NVIDIA ? <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I always suspected it was some kind of ATI bug :P, I'm glad it's fixed<br>
now, it was getting me crazy (still I believe there is something wrong<br>
with ActiveTexture calls too because I had some issue even with my<br>
nvidian card).</blockquote><div><br>doublecube example works well now on the new branch. I can see something on linux too now. (since setlocale :P)<br><br>I will forward you the ati dev answer when it's done. (I have added some of your remarks in the report)<br>
<br>Cheers<br><br>Julien<br><br></div></div><br>