AcademySoftwareFoundation / OpenShadingLanguage

Advanced shading language for production GI renderers
BSD 3-Clause "New" or "Revised" License
2.11k stars 364 forks source link

Fix the OptiX path in testrender and testshade #1896

Closed tgrant-nv closed 3 weeks ago

tgrant-nv commented 3 weeks ago

Description

The recent free function change (#1852) put the OptiX paths in testrender and testshade in a non-working state (issue #1894). The bitcode for the free functions wasn't plumbed through for OptiX. This PR rolls the free function definitions into the existing "rendlib" bitcode and PTX. This is somewhat of a stopgap fix; eventually we'll want to handle the free function more explicitly.

Tests

No new tests added. But all existing OptiX tests pass.

Checklist: