Blender Git Commit Log

Git Commits -> Revision f6c6dd4

Revision f6c6dd4 by Sergey Sharybin (master)
May 14, 2015, 18:44 (GMT)
Cycles: Remove meaningless ifdef checks for features in device_opencl

This file was actually checking for features enabled on CPU and surely all
of them were enabled, so removing them does not cause any difference.

ideally we'll need to do runtime feature detection and just pass some stuff
as NULL to the kernel, or maybe also have variadic kernel entry points which
is also possible quite easily.

Commit Details:

Full Hash: f6c6dd44de766725e4409b8cae357817661b91fe
Parent Commit: 5c34266
Lines Changed: +27, -24

2 Modified Paths:

/intern/cycles/device/device_opencl.cpp (+22, -20) (Diff)
/intern/cycles/kernel/kernel_data_init.cl (+5, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021