Jeroen Bakker
15edda3a8e
T61463: Separate Baking kernels
Cycles OpenCL: Split baking kernels in own program
Fix T61463. Before this patch baking was part of the base kernels. There
are 3 baking kernels that and all 3 uses shader evaluation. Only for one
of these kernels the functionality was wrapped in the __NO_BAKING__
compile directive.
When you start baking this leads to long compile times. By separating
in individual programs will reduce the compile times.
Also wrapped all baking kernels with __NO_BAKING__ to reduce the
compilation times.
Impact on compilation time
job | scene_name | previous | new | percentage
--------+-----------------+----------+-------+------------
T61463 | empty | 10.63 | 7.27 | 32%
T61463 | bmw | 17.91 | 14.24 | 20%
T61463 | fishycat | 19.57 | 15.08 | 23%
T61463 | barbershop | 54.10 | 48.18 | 11%
T61463 | classroom | 17.55 | 14.42 | 18%
T61463 | koro | 18.92 | 17.15 | 9%
T61463 | pavillion | 17.43 | 14.23 | 18%
T61463 | splash279 | 16.48 | 15.33 | 7%
T61463 | volume_emission | 36.22 | 34.19 | 6%
Impact on render time
job | scene_name | previous | new | percentage
--------+-----------------+----------+---------+------------
T61463 | empty | 21.06 | 20.54 | 2%
T61463 | bmw | 198.44 | 189.59 | 4%
T61463 | fishycat | 394.20 | 388.50 | 1%
T61463 | barbershop | 1188.16 | 1185.49 | 0%
T61463 | classroom | 341.08 | 339.27 | 1%
T61463 | koro | 472.43 | 360.70 | 24%
T61463 | pavillion | 905.77 | 902.14 | 0%
T61463 | splash279 | 55.26 | 54.92 | 1%
T61463 | volume_emission | 62.59 | 39.09 | 38%
I don't have a grounded explanation why koro and volume_emission is this much
faster; I have done several tests though...
Maniphest Tasks: T61463
Differential Revision: https://developer.blender.org/D4376
2019-02-19 16:33:50 +01:00
..
2019-02-02 02:40:00 +11:00
2018-11-09 11:34:54 +01:00
2019-02-06 15:18:42 +01:00
2019-02-19 16:25:48 +01:00
2019-02-19 16:33:50 +01:00
2019-02-19 16:25:48 +01:00
2019-02-14 19:28:44 +01:00
2019-01-08 15:37:16 +01:00
2019-02-19 16:25:48 +01:00
2019-02-19 16:33:50 +01:00
2018-08-20 16:09:17 +02:00
2019-02-14 19:39:39 +01:00
2018-03-10 06:27:19 +01:00
2018-11-09 11:34:54 +01:00
2018-11-09 11:34:54 +01:00
2018-11-09 11:34:54 +01:00
2018-11-09 11:34:54 +01:00
2018-07-06 10:17:58 +02:00
2018-07-06 10:17:58 +02:00
2018-07-06 10:17:58 +02:00
2018-11-29 02:45:24 +01:00
2018-11-25 08:01:14 +11:00
2018-07-06 10:17:58 +02:00
2018-07-30 18:44:18 +02:00
2018-11-09 11:34:54 +01:00
2018-11-09 11:34:54 +01:00
2018-11-29 02:45:24 +01:00
2019-01-03 17:10:37 +01:00
2017-10-04 21:11:14 +02:00
2018-08-24 14:36:18 +02:00
2019-01-03 17:10:37 +01:00
2018-11-29 02:45:24 +01:00
2018-11-09 11:34:54 +01:00
2018-11-29 02:45:24 +01:00
2018-11-29 02:45:24 +01:00
2018-07-06 10:17:58 +02:00
2018-11-09 11:34:54 +01:00
2018-11-09 11:34:54 +01:00
2019-02-02 02:40:00 +11:00
2018-11-09 11:34:54 +01:00
2019-01-03 17:10:37 +01:00
2018-07-06 10:17:58 +02:00
2019-02-06 15:18:29 +01:00
2019-02-14 19:39:39 +01:00
2017-10-04 21:11:14 +02:00
2018-11-09 11:34:54 +01:00