Files
UnrealEngineUWP/Engine/Shaders
chris kulla 2f4e95e4d1 Path Tracer: Fix indirect dispatch mode
The addressing logic was using DispatchDim to figure out where to write the pixel, but this was changing in the indirect dispatch case, leading to pixels being written in the wrong place.

Optimize index calculation to avoid modulo and divide instructions and ensure we only keep a single uint in live state for where to write the final pixel. This saves about 0.3ms of overhead.

Fix adaptive sampling when used without path compaction.

Indirect dispatch is still measurably slower (by over 1ms) so leave it off until we can track down the discrepancy.
#rb aleksander.netzel

[CL 33896960 by chris kulla in ue5-main branch]
2024-05-24 12:17:54 -04:00
..