I'm fine with this problem being solved in either PR, just needs to be done before oneAPI support can land.
See my comment in #122015, this needs to be a runtime check on the host side.
I just realized this check can't work in the host code in general. It needs to query this info from the device at runtime.
Abandoning, we decided to use the same main.
I edited the description to make it ready as a commit message, and added the "Authored by Apple" from the commit which I guess was unintentionally left out.
Can you add this code to make it so that it also works for our Hydra integration? https://projects.blender.org/brecht/paste/src/branch/main/usd_hydra_materialx.patch
That way we can run the…
We try to keep integrator state as small as possible, so using packed_float3
there matters I think. Maybe it's good to make Ray
use packed_float3
so that they match, but that would require…
I think this is fine?
session.h
is a public API not just for Blender integration but also other software. And I think in that context, preferences does not make so much sense.