View Full Version : disable glsl nvidia extensions under linux
04-02-2005, 02:20 PM
How can I disable the nvidia extensions in the shaders? #extension all : disable isn't working. NVemulate is a windows so it isn't working under linux. Is there no chance to disable all this annoying nvidia extensions to write easily portable code?
thanks and regards
04-22-2005, 05:13 AM
That is a good question. I ran into this on windows. Even by using their manual disabling method, their compiler was still more "lax" than the ATI one. I ended up having to install an ATI card and test that way. At GDC, I actually got somewhat irritated and told their guys about this one, so hopefully they'll make their stuff do strict type-checking. All of that auto-type-casting and non-square matrices are definitely not part of the GLSL spec! :(
04-22-2005, 07:11 AM
Not sure if it helps, but 3D Labs has GLSLvalidate and GLSLparserTest that check strict conformance to the spec :
04-22-2005, 11:57 AM
I use these tools for a long time, and it's the only way to make portable code. I have no problems until I run every shader thougth Validate tool. If you develop under linux or something else, you have to make your own validate tool( fortunately 3Dlabs provide their compiler(validater) with source).
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.