[Bf-blender-cvs] [b8238733598] cycles-x: Cycles X: Clarify comment in the GPU graphics interop

Sergey Sharybin noreply at git.blender.org
Fri Aug 20 15:31:28 CEST 2021


Commit: b8238733598d252dbf041e707411da01a1119043
Author: Sergey Sharybin
Date:   Fri Aug 20 15:30:44 2021 +0200
Branches: cycles-x
https://developer.blender.org/rBb8238733598d252dbf041e707411da01a1119043

Cycles X: Clarify comment in the GPU graphics interop

The graphics interop is disabled in the multi-device rendering, so
there is no need to apply slice offset in the film convert.

===================================================================

M	intern/cycles/integrator/path_trace_work_gpu.cpp

===================================================================

diff --git a/intern/cycles/integrator/path_trace_work_gpu.cpp b/intern/cycles/integrator/path_trace_work_gpu.cpp
index 9c380f51195..806a70c7953 100644
--- a/intern/cycles/integrator/path_trace_work_gpu.cpp
+++ b/intern/cycles/integrator/path_trace_work_gpu.cpp
@@ -743,9 +743,8 @@ bool PathTraceWorkGPU::copy_to_gpu_display_interop(GPUDisplay *gpu_display,
     return false;
   }
 
-  /* TODO(sergey): Take offset within the big tile into account.
-   * Can not test this currently because interop returns "NOT SUPPORTED" for some reason. Need to
-   * fix that first. */
+  /* NOTE: No need to take device slice into account since the interop is only used during single
+   * device rendering. */
 
   run_film_convert(d_rgba_half, pass_mode, num_samples);



More information about the Bf-blender-cvs mailing list