diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2014-08-01 03:04:57 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2014-08-15 13:27:42 +0400 |
commit | 983cbafd1877f8dbaae60b064a14e27b5b640f18 (patch) | |
tree | 9cc7ba3db147c465f41d34b971f69c25e04a12be /source/blender/render | |
parent | 2c5b6859d91f086f3f7205f0cc15244882ca7ace (diff) |
Final Fix T41222 Blender gives weird ouput when baking (4096*4096) resolution on GPU
It now uses the tile size to split the job. For CPU this may add
overhead, but for GPU this is highly needed.
Reviewers: sergey
Differential Revision: https://developer.blender.org/D690
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/source/external_engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/source/external_engine.c b/source/blender/render/intern/source/external_engine.c index 5ac78d1a6bc..888f1330373 100644 --- a/source/blender/render/intern/source/external_engine.c +++ b/source/blender/render/intern/source/external_engine.c @@ -454,8 +454,8 @@ bool RE_bake_engine( engine->resolution_y = re->winy; RE_parts_init(re, false); - engine->tile_x = re->partx; - engine->tile_y = re->party; + engine->tile_x = re->r.tilex; + engine->tile_y = re->r.tiley; /* update is only called so we create the engine.session */ if (type->update) |