Hi,

On Friday, December 23, 2011 17:05:03 James Turner wrote:
> ==============
> glValidateProgram FAILED "" id=12 contextID=0
> infolog:
> Validation Failed: Sampler error:
>   Samplers of different types use the same texture image unit.
>    - or -
>   A sampler's texture unit is out of range (greater than max allowed or
> negative).
> 
> OpenGL extension 'GL_EXT_texture3D' is not supported.
> ===============
Just a quick answer:

Make sure the shaders effect files have ths extenstion correctly tested. Then, 
fgfs should disable these shaders and the errors are gone.
In the end, the driver tells you that it does not support this feature by not 
announcing this in the extension string/having an apropriate gl version. We 
probably fail to detect that properly, and tell the driver to do that dispite 
of the extension string. And as a result the driver just bails out - it could 
not do different ...

And no, this is not ATI specific, it is just that by accident your ATI driver 
misses something that you tell it to just do  - which just could not work with 
any driver on any hardware.

Thie required extensions are in the effect files. Whatever changes are done 
with 
the shaders, the effect files *must* contain the minimum condition under which 
gl version/extensions this shader is valid.
This is complex, but the only way to make that run portable.

merry christmas

Mathias

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to