Page MenuHome

DRW: Split ViewProjectionMatrix in order to increase precision
ClosedPublic

Authored by Clément Foucault (fclem) on Oct 1 2022, 9:25 PM.

Details

Summary

This also removes the need to compute the persmat and saves some memory
from the ViewInfos struct. This is needed to allow multiview support.

Initial testing found no major performance regression during vertex
heavy workload.

Test file:

Results:

PlatformMasterSplit Matrix
Linux + Mesa + AMD W660048 fps47 fps
Macbook Pro M150 fps51 fps
Linux + NVidia 1080Ti51 fps52 fps
Linux + Radeon Vega 6425.6 fps26.7 fps

Increased precision when far from origin:

Diff Detail

Repository
rB Blender

Event Timeline

Clément Foucault (fclem) requested review of this revision.Oct 1 2022, 9:25 PM
Clément Foucault (fclem) created this revision.
This revision is now accepted and ready to land.Oct 4 2022, 1:29 PM