ca013ae67aa36c58b971879662bac8af6c6cc2de
This avoid recreating the GPU context for each individual tests. This reduces the overhead drastically. Excluding static_shaders and texture_pool tests I get for GPUVulkanTest: `Before: 129 tests from 1 test suite ran. (26304 ms total) ` `After: 129 tests from 1 test suite ran. (6965 ms total) ` Including static_shaders and texture_pool tests I get for GPUMetalTest: `Before: 124 tests from 1 test suite ran. (54654 ms total)` `After: 124 tests from 1 test suite ran. (1870 ms total)` Given the tests are run twice for the workarounds versions, the speedup can be multiplied by 2. Overall tests time is still largely dominated by shader compilation time. However, there is still 3x improvement using this patch: Including static_shaders and texture_pool tests I get for GPUVulkanTest, GPUVulkanWorkaroundTest, GPUOpenGLTest, GPUOpenGLWorkaroundTest: `Before: 516 tests from 4 test suites ran. (318878 ms total)` `After: 516 tests from 4 test suites ran. (106593 ms total)` Pull Request: https://projects.blender.org/blender/blender/pulls/138097
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline—modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
