forked from bartvdbraak/blender
Cycles: Fix for debug kernel not working with CUDA
This commit is contained in:
parent
15af15eb56
commit
0106b94f9d
@ -278,6 +278,10 @@ public:
|
||||
if(experimental)
|
||||
command += " -D__KERNEL_CUDA_EXPERIMENTAL__";
|
||||
|
||||
#ifdef WITH_CYCLES_DEBUG
|
||||
command += " -D__KERNEL_DEBUG__";
|
||||
#endif
|
||||
|
||||
printf("%s\n", command.c_str());
|
||||
|
||||
if(system(command.c_str()) == -1) {
|
||||
|
@ -864,7 +864,7 @@ typedef struct KernelFilm {
|
||||
|
||||
#ifdef __KERNEL_DEBUG__
|
||||
int pass_bvh_traversal_steps;
|
||||
int pad[3];
|
||||
int pass_pad3, pass_pad4, pass_pad5;
|
||||
#endif
|
||||
} KernelFilm;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user