Cycles: Calculate size of split state buffer kernel side
[blender.git] / intern / cycles / kernel / CMakeLists.txt
index df40c3a0e8e1af86fbc2e533effeb9640d1dd307..6867ab02318bdfd5409fce239b2d126c0eab3086 100644 (file)
@@ -15,6 +15,7 @@ set(SRC
        kernels/cpu/kernel.cpp
        kernels/cpu/kernel_split.cpp
        kernels/opencl/kernel.cl
+       kernels/opencl/kernel_state_buffer_size.cl
        kernels/opencl/kernel_data_init.cl
        kernels/opencl/kernel_path_init.cl
        kernels/opencl/kernel_queue_enqueue.cl
@@ -399,6 +400,7 @@ endif()
 #delayed_install(${CMAKE_CURRENT_SOURCE_DIR} "${KERNEL_PREPROCESSED}" ${CYCLES_INSTALL_PATH}/kernel)
 
 delayed_install(${CMAKE_CURRENT_SOURCE_DIR} "kernels/opencl/kernel.cl" ${CYCLES_INSTALL_PATH}/kernel/kernels/opencl)
+delayed_install(${CMAKE_CURRENT_SOURCE_DIR} "kernels/opencl/kernel_state_buffer_size.cl" ${CYCLES_INSTALL_PATH}/kernel/kernels/opencl)
 delayed_install(${CMAKE_CURRENT_SOURCE_DIR} "kernels/opencl/kernel_data_init.cl" ${CYCLES_INSTALL_PATH}/kernel/kernels/opencl)
 delayed_install(${CMAKE_CURRENT_SOURCE_DIR} "kernels/opencl/kernel_path_init.cl" ${CYCLES_INSTALL_PATH}/kernel/kernels/opencl)
 delayed_install(${CMAKE_CURRENT_SOURCE_DIR} "kernels/opencl/kernel_queue_enqueue.cl" ${CYCLES_INSTALL_PATH}/kernel/kernels/opencl)