Hi, On Thu, 2013-05-02 at 16:32 +0200, Johannes Brunen wrote: > Hello, > > > > I have a crash in function add(const IdStore&, ObjectT*) in file > OSGShaderCacheTree.inl. > > > > The problem is that the value type of container IdStore is UInt16. But > my model results in storing values greater than 65535. This leads to > negative uiCurrIdx indices not tolerated anymore.
unfortunately there is currently the UInt16 limit, with other parts reducing the number of bits further (to 12 IIRC). Currently the id's are also not reused, so if one creates and deletes a lot of shaders this will be a problem. For planning how to fix this, would it help in your case to reuse the id's. E.g. how many shader programs / shader executables do you have active at one point in time. kind regards gerrit ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
