blender/intern
Sergey Sharybin 84ad20acef Fix T44833: Can't use ccl_local space in non-kernel functions
This commit re-shuffles code in split kernel once again and makes it so common
parts which is in the headers is only responsible to making all the work needed
for specified ray index. Getting ray index, checking for it's validity and
enqueuing tasks are now happening in the device specified part of the kernel.

This actually makes sense because enqueuing is indeed device-specified and i.e.
with CUDA we'll want to enqueue kernels from kernel and avoid CPU roundtrip.

TODO:
- Kernel comments are still placed in the common header files, but since queue
  related stuff is not passed to those functions those comments might need to
  be split as well.

  Just currently read them considering that they're also covering the way how
  all devices are invoking the common code path.

- Arguments might need to be wrapped into KernelGlobals, so we don't ened to
  pass all them around as function arguments.
2015-05-26 22:54:02 +05:00
..
atomic Atomic operations: Add function declarations at the top of the header 2015-05-20 11:57:17 +05:00
audaspace CMake: Enable strict flags for C++ 2015-03-27 18:23:31 +05:00
container Rework carve integration into boolean modifier 2014-02-13 17:16:53 +06:00
cycles Fix T44833: Can't use ccl_local space in non-kernel functions 2015-05-26 22:54:02 +05:00
dualcon Dualcon: Code cleanup, prepare for strict C++ flags 2015-03-27 18:23:31 +05:00
elbeem CMake: correct include dirs 2014-07-01 09:36:28 +10:00
ffmpeg Fix video FFmpeg nt being able to produce video files due to usage of deprecated settings 2014-04-15 00:15:09 +06:00
ghost GHOST: flush event printer output 2015-05-26 18:51:51 +10:00
glew-mx CMake: error making get_blender_version a function 2015-02-25 18:15:54 +11:00
guardedalloc Guardedalloc: Don't use aligned blocks to calculate memory sloppyness 2015-04-20 19:23:25 +05:00
iksolver doxygen: corrections/updates 2015-05-20 14:12:22 +10:00
itasc CMake: unbundle eigen3 2015-03-19 15:41:41 +11:00
locale Workaround ld.gold failing with msgfmt 2015-05-06 03:23:20 +10:00
memutil doxygen: corrections/updates 2015-05-20 14:12:22 +10:00
mikktspace Style Cleanup: remove preprocessor indentation (updated wiki style guide too) 2013-12-22 14:12:19 +11:00
moto BGE: TrackTo actuator: increasing up & track axis options 2014-07-14 18:30:27 -07:00
opencolorio OpenColorIO: Code cleanup, prepare for strict C++ flags 2015-03-27 18:23:31 +05:00
opennl Fix limit check before accessing array in opennl 2015-01-21 17:19:39 +05:00
raskter code cleanup: use NULL rather then 0 for pointers, and make vars static where possible. 2013-03-22 05:34:10 +00:00
rigidbody Code cleanup 2014-07-18 11:55:59 +10:00
smoke CMake: only quiet warnings for generated rna files 2015-02-08 15:08:31 +11:00
string fix for buffer out-of-bounds reading for STR_String comparisons with char arrays. 2013-03-22 21:26:59 +00:00
utfconv Warning cleanup: 2014-03-22 14:41:38 +02:00
CMakeLists.txt Ghost Context Refactor 2014-10-07 15:47:32 -05:00
SConscript Ghost Context Refactor 2014-10-07 15:47:32 -05:00