-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSL indexed context queries #5515
Conversation
2caea38
to
0187a57
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are still a couple things left to do before it's ready for review.
Doh! Sorry, I reviewed this a bit too eagerly. Posting my comments now anyway in case they might be useful...
0187a57
to
4a8e7b8
Compare
I addressed the comments and pushed a new branch this morning. Looks like the test failure is the expected one of handling |
4a8e7b8
to
42b6192
Compare
Rebased to squash fixups and get this on top of #5525, whereafter CI should pass. |
42b6192
to
2a27109
Compare
And one last rebase to fix |
This adds the ability to query specific indices of a vector-typed context variable in OSL. The original motivation was querying the
scene:path
context variable as described in #5292. The method was simple to generalize for all supported vector types, so those can be queried by index too.I'm opening this now as a work-in-progress so I can mention this PR in a related Cortex PR. There are still a couple things left to do before it's ready for review.
Related issues
Fixes #5292
Dependencies
ImageEngine/cortex#1391
Checklist