Cycles: oneAPI: Improve performance of scenes not using volume #109245

Closed
Nikita Sirgienko wants to merge 2 commits from Sirgienko/blender:oneapi_shade_surface_perf_optimization into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

2 Commits

Author SHA1 Message Date
Nikita Sirgienko 88d90a8251 Cycles: oneAPI: Improve performance of scenes not using volume
buildbot/vexp-code-patch-coordinator Build done. Details
The NODE_VOLUME feature adds a lot of code to shade_surface,
including the entire NanoVDB library, causing GPU compilers to
spend additional registers while the feature is not used often.
This leads to suboptimal execution and the use of a specialized
version gives a noticeable speed-up for oneAPI devices.
2023-06-26 10:43:57 +02:00
Nikita Sirgienko b515f4a388 Cycles: Fix kernel features reporting of PointDensityTextureNode
The shader node PointDensityTextureNode can include SVM node which
requires the NODE_VOLUME feature under certain conditions. This
requirement wasn't reported to the shader node manager so it would
lead to incorrect rendering with devices adapting kernels
compilation based on used features.
2023-06-26 10:43:03 +02:00