Is there a way to check at runtime whether the GPU supports
It looks like some AMD GPUs may not support it, but recent-ish NVIDIA ones seem to.
My RayTK library currently depends on using
#include when it constructs its shaders. Ideally I’d like to continue using it when it’s supported. When it isn’t supported I can inline those other DATs, but if possible I’d prefer to only do that when it’s necessary.
Or should we not rely on
#include support for widely used libraries?