Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gpu): Mock gpu pointcloud_search calls with empty custom attribut…
…es (#1859) The GPU calling convention for variadic shadeops is to pass a pointer to the extra parameters as the op's final argument. Currently calls to osl_pointcloud_search don't follow this convention, so their ptx fails to compile due to argument count mismatches. This PR doesn't implement the full correct behavior, it just adds a nullptr to the end of OptiX calls to osl_pointcloud_search. This makes everything at least compile, so scenes that have pointcloud operations can fail more gracefully on GPU (for now). Signed-off-by: Chris Hellmuth <[email protected]>
- Loading branch information