[osg-users] Compiling vertext shader fails on Intel

Christian Buchner christian.buchner at gmail.com
Tue Dec 18 08:45:16 PST 2018


To debug this further, the nvidia driver supports

#pragma optionNV(strict on)

in the shader where it might indicate what could possibly be wrong with the
code  (this is assuming that there is something wrong in the shader code).

Christian



Am Sa., 15. Dez. 2018 um 22:41 Uhr schrieb Chris Hanson <
xenon at alphapixel.com>:

> There are some tricks you can use to trigger the Nvidia/Intel
> autoswitching to force it to run on the NVidia chipset, even if you don't
> set it up in the NVidia control panel.
>
> On Sat, Dec 15, 2018 at 3:56 AM Andrew Cunningham <andrewC at mac.com> wrote:
>
>> Hi Chris,
>> I managed to work around the issue by falling back to a slower rendering
>> system. Also it turns out the laptop has a switchable graphics subsystem to
>> nVidia ( which works perfectly) or Intel, so there are two workarounds.
>>
>> I'll check out that validator.
>>
>> Thanks
>>
>> Andrew
>>
>> ------------------
>> Read this topic online here:
>> http://forum.openscenegraph.org/viewtopic.php?p=75312#75312
>>
>>
>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
> --
> Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
> http://www.alphapixel.com/
> Training • Consulting • Contracting
> 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4
> • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
> Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
> osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
> iPhone/iPad/iOS • Android
> @alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
> 623-PIXL [7495]
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20181218/3e457cc6/attachment.html>


More information about the osg-users mailing list