Skip to content

Optix Primvars #1344

Answered by pellerington
pellerington asked this question in Q&A
Discussion options

You must be logged in to vote

Think I have found the answer to this myself.

For anyone else wondering see rend_lib.cu. Functions like osl_getattribute or osl_printf get compiled in a certain way before runtime (LLVM_COMPILE_CUDA in the cmake example). Then inserted into the "lib_bitcode" attribute so the shaders can access them when they are converted to ptx.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pellerington
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant