HI Michael,

On 30 May 2013 07:36, Michael Bach Jensen <[email protected]> wrote:
> I have just tried trunk and it looks fine for my compute shader! Thank you!

Good to hear.


> This revisit to the code got me thinking if the applyModeList and 
> applyAttributeList should perhaps have been moved even further down. After 
> this submit they are now followed by shader composition (and something to do 
> with uniforms). I have tried moving the two apply calls further down so that 
> they instead happen after shader composition and my example still works. I 
> don't know how it affects shader composition, though.

Unless something is known to be broken I believe it's best to keep the
code as is.  I'm a bit cold on shader composition as I haven't worked
on it for a while, but in general I would expect it to be done after
all other state has been applied so that shader composer can collect
all this information together and apply the appropriate shader.

Cheers,
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to