diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-07-25 14:53:48 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-07-25 17:34:22 +0300 |
commit | 7a74d91e323c4d695b908ca4178837cee756eeaf (patch) | |
tree | 7e28e29d53b7905c1d464c49f68481a6380c3303 /intern/cycles/kernel/device/metal/compat.h | |
parent | c6ce70855a13c42a724755f2989dee756519bef0 (diff) |
Cleanup: move device BVH code to kernel/device/*/bvh.h
Having the OptiX/MetalRT/Embree/MetalRT implementations all in one file with
many #ifdefs became too confusing. Instead split it up per device, and also
move it together with device specific hit/filter/intersect functions and
associated data types.
Diffstat (limited to 'intern/cycles/kernel/device/metal/compat.h')
-rw-r--r-- | intern/cycles/kernel/device/metal/compat.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/kernel/device/metal/compat.h b/intern/cycles/kernel/device/metal/compat.h index 0ed52074a90..80ee8ef5b57 100644 --- a/intern/cycles/kernel/device/metal/compat.h +++ b/intern/cycles/kernel/device/metal/compat.h @@ -260,8 +260,6 @@ void kernel_gpu_##name::run(thread MetalKernelContext& context, \ #ifdef __METALRT__ -# define __KERNEL_GPU_RAYTRACING__ - # if defined(__METALRT_MOTION__) # define METALRT_TAGS instancing, instance_motion, primitive_motion # else |