Metal: TF more optimal for hair refinement #107166

Merged
Jeroen Bakker merged 1 commits from Jason-Fielder/blender:Metal_KeepTF_ForRefine into main 2023-04-21 12:35:33 +02:00

1 Commits

Author SHA1 Message Date
Michael Parkin-White 43f1c3db2b Metal: TF more optimal for hair refinement
Patch prefers usage of Transform Feedback for hair refinement
as opposed to compute, as vertex work can be pipelined with
existing rendering work which is in-flight.

This approach is ~20% faster depending on the scene. Note that
the current implementation only uses TF, as storage buffer support
is disabled. Though once storage buffer support is added, we should
still use the TF path.

Authored by Apple: Michael Parkin-White
2023-04-20 11:32:02 +01:00