diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/integrator/path_trace_work_gpu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/integrator/path_trace_work_gpu.cpp b/intern/cycles/integrator/path_trace_work_gpu.cpp index 135466becc6..450e8aaac04 100644 --- a/intern/cycles/integrator/path_trace_work_gpu.cpp +++ b/intern/cycles/integrator/path_trace_work_gpu.cpp @@ -738,7 +738,8 @@ void PathTraceWorkGPU::copy_to_gpu_display_naive(GPUDisplay *gpu_display, get_render_tile_film_pixels(destination, pass_mode, num_samples); - gpu_display_rgba_half_.copy_from_device(); + queue_->copy_from_device(gpu_display_rgba_half_); + queue_->synchronize(); gpu_display->copy_pixels_to_texture( gpu_display_rgba_half_.data(), texture_x, texture_y, width, height); |