<div dir="ltr"><div dir="ltr">On Thu, Apr 11, 2019 at 5:46 PM Rowley, Marlin R <<a href="mailto:marlin.r.rowley@lmco.com">marlin.r.rowley@lmco.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-4310524193880564904WordSection1">
<p class="MsoNormal">Sebastian,</p>
<p class="MsoNormal">I have written the shaders for GL 3.3 so that’s done. When RenderDoc runs, I’m assuming it’s only checking that window context. I am NOT assuming that it can comb through my code and determine that I’ve used a fixed-function GL call somewhere
and therefore spits out the message.</p></div></div></blockquote><div><br></div><div> Well, it's not just the GLSL version, you need to create a context that either can or can not handle non-core FFP functions. So, outside of your shaders, even other pieces of OSG code could be requiring non-core features. You'd need to build OSG and osgEarth with the proper build options to completely remove their utilization of any non-core abilities, and then make sure you (or OSG) create a core-only Context.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-4310524193880564904WordSection1">
<p class="MsoNormal">In general, I’d like to have a working GPU debugger. Right now, we are struggling to find out values of local variables in the shaders that aren’t uniform. We would also love to be able to pinpoint bottlenecks in the code from the GPU
side to optimize performance.</p></div></div></blockquote><div><br></div><div>Debugging shader local variables in-situ is a pretty weak point of GLSL. </div><div><br></div><div>My recommendation is to try to create a toy program that replicates the critical part of your code, as debugging there will be a lot easier, and then you can apply the fix to your larger environment. Working within OSG and osgEarth can be very daunting when things aren't working the way you expect.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-4310524193880564904WordSection1"><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(31,73,125)">----------------------------------------<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(31,73,125)">Marlin Rowley<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(31,73,125)">Software Engineer, Staff<u></u><u></u></span></p>
<p class="MsoNormal"><img width="156" height="40" style="width: 1.625in; height: 0.4166in;" id="gmail-m_-4310524193880564904_x0000_i1028" src="cid:16a0db1fef74ce8e91" alt="cid:image002.jpg@01D39374.DEC5A2E0"><span style="font-size:10pt;font-family:"Times New Roman",serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class="MsoNormal"><i><span style="font-size:12pt;font-family:"Times New Roman",serif;color:rgb(31,73,125)">Missiles and Fire Control</span></i><span style="color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(31,73,125)">972-603-1931 (office)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(31,73,125)">214-926-0622 (mobile)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif"><a href="mailto:marlin.r.rowley@lmco.com" target="_blank"><span style="color:rgb(5,99,193)">marlin.r.rowley@lmco.com</span></a></span><u></u><u></u></p>
</div>
<p class="MsoNormal"><br><u></u></p></div></div></blockquote></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="text-align:center">Chris 'Xenon' Hanson, omo sanza lettere. Xenon@AlphaPixel.com <a href="http://www.alphapixel.com/" target="_blank">http://www.alphapixel.com/</a></div><div style="text-align:center">Training • Consulting • Contracting</div><div style="text-align:center">3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL</div><div style="text-align:center"><span style="font-size:12.8px">Legal/IP •</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">Forensics •</span><span style="font-size:12.8px"> </span>Imaging <span style="font-size:12.8px">•</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">UAVs </span><span style="font-size:12.8px">• GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android</span></div><div style="text-align:center"><a href="https://twitter.com/alphapixel" target="_blank">@alphapixel</a> <a href="http://facebook.com/alphapixel" target="_blank">facebook.com/alphapixel</a> (775) 623-PIXL [7495]<br></div></div></div></div></div></div></div>