Josef Grunig wrote:
> Hi all,
> 
> we are heavily working on shaders using the SHLChunk. As we are trying 
> to make a software that runs on every kind of graphic card I would like 
> to know if there is a way to understand whether the shader has compiled 
> correctly and/or is running in software. Looking at the chunk it seems 
> not possible.

Hi Josef,

There was some discussion on the list a while ago. There's no really 
good way for this in OpenSG currently. Some options are

* hook up a log-callback and scan it for shader errors
* check the shlchunk's gl-id with the window (for a zero value)
* patch the shl-chunk somehow to get the status (I'd like that :)

For software, this has been discussed over and over on OpenGL.org ever 
since we had texturing. Every hw-manufacturer seems to recommend that 
you should profile the app on startup and see if it runs "fast enough" 
or not. Think what you will of that, but it's a fundamental OpenGL 
limitation that the ARB hasn't addressed.

Cheers,
/Marcus


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to