This additional pass fixes cases like when gl_WorldRayDirectionEXT
is
used after traceRayEXT()
, and loading the value that was passed to
traceRayEXT()
in the resume shader instead of the original one.
[v2]:
- Make RADV approach from !16889 (merged) common instead of adding similar pass to ANV.
- Add optimization to try to limit liveliness a bit.
Closes: #8979