Path Tracing Optimization in Indiana Jones™: Shader Execution Reordering and Live State Reductions

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

Graphics engineers can now cut path-tracing GPU cost by ~24% on RTX 40/50 cards by reducing ray-tracing live-state bytes before enabling Shader Execution Reordering.

Read this as

This is a story about making the fancy lighting in the video game Indiana Jones and the Great Circle run faster on NVIDIA's newest graphics cards. The developers found hidden inefficiencies where the graphics chip was juggling too much saved data between lighting calculations. By slimming that data down, they made the lighting pass 24% faster. This matters to game studios building visually rich games for modern PCs.

NVIDIA and MachineGames detail how they cut the cost of path tracing in Indiana Jones and the Great Circle by 24% on a GeForce RTX 5080, reducing the TraceMain pass from 4.07 ms to 3.08 ms. The lesson for studios: Shader Execution Reordering only pays off if you first shrink ray-tracing live-state spills, which the free Nsight Graphics profiler exposes per variable. Teams shipping path-traced titles on RTX 40-series and later GPUs gain measurable frame-time headroom at minimal engineering cost.

The TraceMain RayGen shader spilled 222 bytes of RT live state per thread, degrading SER efficiency. Converting a redundant path loop (pathNum always 1) into an isSky branch removed 72 spilled bytes; demoting radianceAndAccumHitDist from float4 to half4 halved its footprint. Additional optimizations, half3 throughput, uint16_t bounce counters, packed uint32_t ray directions, moving signal demodulation out of RayGen, cut spills to 84 bytes. On an RTX 5080 with DLSS-RR at 4K output, active threads per warp rose from 38% to 68%, and SER now saves 24% (4.07 to 3.08 ms).

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Indiana Jones and the Great Circle Shader Execution Reordering Nsight Graphics GeForce RTX 5080 GeForce RTX 40 Series DLSS Ray Reconstruction Opacity Micro-Maps

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading