d9cce547e63f3fd1b96492871ea4f230e88ad5ec
The OSL dependency is built with target sm_50 currently, which means that LLVM defaults to generating PTX version 4.0. However, due to an apparent bug in LLVM 20 it still uses instructions that were only introduced in PTX version 6.0. As a result OptiX refuses to load the shadeops PTX with an `OPTIX_ERROR_INVALID_INPUT` error. To fix this, raise the PTX version generated by LLVM to 6.0 for both the shadeops module (which previously used 4.0) and also any generated code (which previously used 5.0) to be safe. PTX version 6.0 was introduced with CUDA 9, so it has pretty long driver backwards compatibility still. This commit contains fixes for the OSL, to fully fix the original report a recompiled OSL libraries would need to land for the affected platforms. Ref #147361 Pull Request: https://projects.blender.org/blender/blender/pulls/147620
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
