The calculatenormal() shadeop references flipHandedness in order to know which order to cross the derivatives. This change makes it so flipHandedness shows up in the list of "globals_needed" that can be queried by renderers to lazily fill in.
Tests
The globals-needed test was extended to test caclulatenormal() as well
[X] I have updated the documentation, if applicable.
[X] I have ensured that the change is tested somewhere in the testsuite (adding new test cases if necessary).
[X] My code follows the prevailing code style of this project. If I haven't
already run clang-format v17 before submitting, I definitely will look at
the CI test that runs clang-format and fix anything that it highlights as
being nonconforming.
Description
The calculatenormal() shadeop references flipHandedness in order to know which order to cross the derivatives. This change makes it so flipHandedness shows up in the list of "globals_needed" that can be queried by renderers to lazily fill in.
Tests
The globals-needed test was extended to test caclulatenormal() as well
Checklist: