You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the non-RG path, there's specialized logic that ensures the copy depth operation runs before any custom passes that require depth as input. Prior to this change, we didn't have similar logic in the RG path, so we were incorrectly executing some custom passes before the copy depth operation which can produce incorrect results.
This change introduces similar scheduling logic to the RG path to ensure it behaves consistently with the non-RG path in the context of custom pass execution.
// Custom passes typically come before built-in passes but there's an exception for passes that require depth.
941
+
// In cases where custom passes passes may depend on depth, we split the event range and execute the depth copy as late as possible while still ensuring valid depth reads.
0 commit comments