Would it be possible for you to post this patch to the mailing list? -Aron
On Thu, Apr 16, 2009 at 2:24 AM, Marcus Lindblom <[email protected]> wrote: > Gerrit Voß wrote: >> Hi, >> >> On Thu, 2009-04-16 at 07:43 +0800, Gerrit Voß wrote: >>> Hi, >>> >>> On Wed, 2009-04-15 at 21:49 +0200, Marcus Lindblom wrote: >>>> Gerrit Voß wrote: >>>>> Hi, >>>>> >>>>> On Wed, 2009-04-15 at 16:40 +0200, Marcus Lindblom wrote: >>>>>> Hi, >>>>>> >>>>>> I recently added a call validateAllGLObjects() after our scene load, to >>>>>> make sure everything runs smoothly from frame 1. >>>>>> >>>>>> However, this has lead to some problems and I don't know where to search >>>>>> for this. >>>> [snip] >>>>>> AFAKT, we do not modify any shaderchunks' programs after our validate >>>>>> call, everything should be set up before that. >>>>>> >>>>>> Any ideas where to start looking? >>>>> one simple thing to try, could you add a commitChanges before >>>>> calling validateAllGLObjects. The new shaders require a commitChanges >>>>> in order to update internal structures before their handleGL >>>>> can be called. >>>> We already do that. :-| >>>> >>> hmm, ok I try to reproduce the problem, just to confirm you have >>> the new shaders enabled ? >>> >> >> ok my bug, I only validate the invidual shader programs during >> activate and this path is not taken during validateAllGlObjects so >> the order is wrong and the programs are linked before all program parts >> have been validated. I fixed it. >> >> As I can not commit things right now I'll send you the patch offline. > > Got it. Will try it. Thanks! > > I couldn't check which shaders we used yesterday, as I was back home and > e-mailing from my couch. (Should've said something about that, sorry.) > > Cheers, > /Marcus > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
