diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-06-14 19:58:38 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-06-14 20:02:30 +0300 |
commit | 7a24fe372c2148bf28e3768d42c14192ed46c5d6 (patch) | |
tree | 8e2d2aa196f71bf6f19bb3bc72ac3c04d8e297d3 /source/blender/nodes | |
parent | f5e7221fbdc3277528b0cd8da4e9b3e0197e334f (diff) |
Fix T98879: PBVH active attrs only optimization is buggy
PBVH draw has an optimization where it only sends the
active attribute to the GPU in workbench mode. This
fails if multiple viewports are open with a mix of
workbench and EEVEE mode; it also causes severe lag
if any workbench viewport is in material mode.
There are two solutions: either add the code in sculpt-dev
that checks for EEVEE viewports at the beginning of each frame,
or integrate pbvh draw properly inside the draw manager
and let it handle which attributes should go to the GPU.
Diffstat (limited to 'source/blender/nodes')
0 files changed, 0 insertions, 0 deletions