imageworks/OpenShadingLanguage — pull request #168 by lgritz (2012-10-16 17:12:12+00:00)
Title: Pointcloud enhancements: stats, folding of pointcloud_get

1. Add statistics about how many pointcloud_write calls there were.

2. Constant folding of pointcloud_get -- turn into a constant array when the indices are known and we aren't asking for too many at once. (This is similar to how we already folded certain constant queries to pointcloud_search.)