Description

While separate translucency is enabled DOFRecombine will incur a cost even when not using DOF (Scale of 0 or blur size of 0). Maybe we can check to see if those values are == 0 (meaning DOF is effectively disabled) and not incur the cost.

There will also be a BokehDOFRecombine cost even when using other DOF methods such as Gaussian. Although in my tests the cost was very trivial (0.04 ms) the licensee is getting a cost of .34 ms.

Steps to Reproduce
  1. Open a blank project
  2. Add an unbound postprocess volume and under DOF settings set scale to 0
  3. Enter ProfileGPU in console

RESULT
There will be a cost for BokehDOFRecombine.

EXPECTED
There is no cost while the DOF Scale is 0 or the Blur Size is 0.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-45129 in the post.

1
Login to Vote

By Design
ComponentUE - Graphics Features
Affects Versions4.14.34.15.14.16
Target Fix4.18
CreatedMay 17, 2017
ResolvedJun 7, 2017
UpdatedJun 7, 2017
View Jira Issue