Copied macro to device_rewrite branch
Merge branch 'device_rewrite' of https://github.com/gfokkema/RT-Raytracing into device_rewrite