Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-12-07 22:49:34 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-12-07 22:49:34 +0300
commit204ae33d755561e68ad3a6193d9a90d39d47d4da (patch)
treeb83e69f4b4deb024e848b2c45a346409779df26b /intern/cycles/integrator/path_trace_work_gpu.cpp
parentb81508841639aff7c0bc04accc2be265f554fdce (diff)
Revert "Fix T93350: Cycles renders shows black during rendering huge resolutions"
This reverts commit 5e37f70307bdacedd0f7da65f8b385bc1426f21d. It is leading to freezing of the entire desktop for a few seconds when stopping 3D viewport rendering on my Linux / NVIDIA system.
Diffstat (limited to 'intern/cycles/integrator/path_trace_work_gpu.cpp')
-rw-r--r--intern/cycles/integrator/path_trace_work_gpu.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/intern/cycles/integrator/path_trace_work_gpu.cpp b/intern/cycles/integrator/path_trace_work_gpu.cpp
index 7a13447f2cf..e5062c6c47e 100644
--- a/intern/cycles/integrator/path_trace_work_gpu.cpp
+++ b/intern/cycles/integrator/path_trace_work_gpu.cpp
@@ -875,10 +875,8 @@ void PathTraceWorkGPU::copy_to_display_naive(PathTraceDisplay *display,
const int final_width = buffers_->params.window_width;
const int final_height = buffers_->params.window_height;
- const int texture_x = full_x - effective_big_tile_params_.full_x +
- effective_buffer_params_.window_x - effective_big_tile_params_.window_x;
- const int texture_y = full_y - effective_big_tile_params_.full_y +
- effective_buffer_params_.window_y - effective_big_tile_params_.window_y;
+ const int texture_x = full_x - effective_full_params_.full_x + effective_buffer_params_.window_x;
+ const int texture_y = full_y - effective_full_params_.full_y + effective_buffer_params_.window_y;
/* Re-allocate display memory if needed, and make sure the device pointer is allocated.
*