I'm having the dreaded 'invalid operation after ' errors from OSG, which makes
seeing other debug output. Once again, it relates to 3D textures, and is
presumably Ati specific.
Details:
- latest Git of fg+sg+fgdata, OSG 3.0.1
- card is a Radeon 5770, with the official Apple drivers, info strings
says:
ATI Radeon HD 5770 OpenGL Engine
2.1 ATI-7.12.9
- c172 or UFO at EGPH, traffic enabled
At shaders quality = 0 or 1, I do *not* get the message - at quality level 2 or
higher, I do.
I see some log output at any quality level, which is worrying:
==============
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.
===============
I get this for several shaders, all of which feature 'uniform sampler3D
NoiseTex;'
This may be entirely unrelated to the ultimate error message:
Warning: detected OpenGL error 'invalid operation' after applying
GLMode 0x806f
Except that 0x806f is the constant for 'GL_TEXTURE_3D_EXT'
Do we load all shader programs regardless of whether or not they are active at
the current quality level, for example?
I'm guessing I need to supply more information to really track this down, so
debugging suggestions would be useful here - eg particular shaders / scenes to
try / disable to narrow things down.
James
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel