Re: [Flightgear-devel] Shader compile failure

2013-05-11 Thread James Turner

On 10 May 2013, at 20:21, Stuart Buchanan  wrote:

> Should be fixed now.  Let me know if not - I don't see the warning on
> my NVIDIA GT260M GPU.

Thanks Stuart.

The Apple OpenGL renderer is a rather interesting beast - it's a clean-room 
front-end to the drivers, one of aspect of which means it is the only true 
'Core Profile' 3.x renderer in wide use. (As opposed to the Ati and Nvidia Core 
profile drivers, which are simple the compat ones with some checks removed, I 
have been told). Of course FG is hence limited to 2.1 on Mac since we're a long 
way from Core profile support in the main code.

This does however mean it produces different GLSL compile issues, and different 
bugs in general, from the same hardware on other platforms.

(The renderer backend does of course come from the vendors, but 
OpenGL.framework always comes from Apple - it's not like Linux where your 
libGL.so comes, at least potentially, from your hardware vendor)

James
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Shader compile failure

2013-05-10 Thread Stuart Buchanan
On Fri, May 10, 2013 at 9:27 AM, James Turner wrote:
> On Mac 10.8, latest of nearly everything:
>
> NVIDIA Corporation
> NVIDIA GeForce GTX 670 OpenGL Engine
> 2.1 NVIDIA-8.10.44 304.10.65f03
> 1.20
>
> VERTEX glCompileShader "/Users/jmt/FGFS/fgdata/Shaders/tree-haze.vert" FAILED
>
> VERTEX Shader "/Users/jmt/FGFS/fgdata/Shaders/tree-haze.vert" infolog:
> ERROR: 0:89: '*' does not operate on 'float' and 'int'
> ERROR: 0:89: '*' does not operate on 'float' and 'int'

Should be fixed now.  Let me know if not - I don't see the warning on
my NVIDIA GT260M GPU.

-Stuart

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Shader compile failure

2013-05-10 Thread James Turner
On Mac 10.8, latest of nearly everything:

NVIDIA Corporation
NVIDIA GeForce GTX 670 OpenGL Engine
2.1 NVIDIA-8.10.44 304.10.65f03
1.20

VERTEX glCompileShader "/Users/jmt/FGFS/fgdata/Shaders/tree-haze.vert" FAILED

VERTEX Shader "/Users/jmt/FGFS/fgdata/Shaders/tree-haze.vert" infolog:
ERROR: 0:89: '*' does not operate on 'float' and 'int'
ERROR: 0:89: '*' does not operate on 'float' and 'int'


glLinkProgram "" FAILED


Regards,
James


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel