Skip to content
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

fix: unbreak osl-unittest.h for OptiX #1926

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Jan 21, 2025

Ugh, I broke test testsuite under OptiX a while back and it took me a while to notice. When I added new unit tests for color[24] and vector[24], I used the format() call, and that's not supported in OptiX mode. But printf is, so in this patch, I fix it all up and now the tests pass in OptiX.

Ugh, I broke test testsuite under OptiX a while back and it took me a
while to notice. When I added new unit tests for color[24] and
vector[24], I used the format() call, and that's not supported in
OptiX mode. But printf is, so in this patch, I fix it all up and
now the tests pass in OptiX.

Signed-off-by: Larry Gritz <[email protected]>
@lgritz lgritz merged commit edcd505 into AcademySoftwareFoundation:main Jan 21, 2025
23 checks passed
lgritz added a commit to lgritz/OpenShadingLanguage that referenced this pull request Jan 21, 2025
Ugh, I broke the testsuite under OptiX a while back and it took me a
while to notice. When I added new unit tests for color[24] and
vector[24], I used the format() call, and that's not supported in
OptiX mode. But printf is, so in this patch, I fix it all up and
now the tests pass in OptiX.

Signed-off-by: Larry Gritz <[email protected]>
@lgritz lgritz deleted the lg-optixv24 branch January 21, 2025 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants