Review: smarter runflags for lazy eval (issue194117)


larry...@...
 

Reviewers: ,

Description:
If you called context->execute() with a "sparse" set of runflags (such
as if you were picking the subset of a set of rays that hit objects with
the same shaders), it would use those runflags for any
unconditionally-run layers, but lazy layer evaluation was done with all
points on, which is very wasteful for sparse run sets. This change
records the top-level original runflags passed in, and uses those
runflags when running upstream layers lazily.

Please review this at http://codereview.appspot.com/194117/show

Affected files:
src/liboslexec/context.cpp
src/liboslexec/exec.cpp
src/liboslexec/oslexec_pvt.h

Join {osl-dev@lists.aswf.io to automatically receive all group messages.