diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-11-29 20:41:13 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-11-29 20:41:37 +0300 |
commit | 2e6f914e3702ecf8c2dfedb7ad79d980113a43d5 (patch) | |
tree | 076f3130e91f63904872a42a59a2cd704ea1f79c /intern/cycles/integrator/path_trace_work_gpu.cpp | |
parent | 0adb356f2ec3891d4accc13bb875a0a858573275 (diff) |
Fix debug build error after recent Cycles kernel argument changes
Diffstat (limited to 'intern/cycles/integrator/path_trace_work_gpu.cpp')
-rw-r--r-- | intern/cycles/integrator/path_trace_work_gpu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/integrator/path_trace_work_gpu.cpp b/intern/cycles/integrator/path_trace_work_gpu.cpp index 5f3d30f09ad..e5062c6c47e 100644 --- a/intern/cycles/integrator/path_trace_work_gpu.cpp +++ b/intern/cycles/integrator/path_trace_work_gpu.cpp @@ -485,7 +485,7 @@ void PathTraceWorkGPU::compute_sorted_queued_paths(DeviceKernel kernel, int d_queued_kernel = queued_kernel; device_ptr d_counter = (device_ptr)integrator_state_gpu_.sort_key_counter[d_queued_kernel]; device_ptr d_prefix_sum = integrator_shader_sort_prefix_sum_.device_pointer; - assert(d_counter != nullptr && d_prefix_sum != nullptr); + assert(d_counter != 0 && d_prefix_sum != 0); /* Compute prefix sum of number of active paths with each shader. */ { |