Skip to content

radv/rt: Write inactive node data in ALWAYS_ACTIVE workaround

Friedrich Vock requested to merge pixelcluster/mesa:doom-wa-fix into main

It's possible for (0,0) triangles to get hit by rays.

If we aren't writing node data it's possible that shaders read a garbage geometry index, which in turn will corrupt the SBT index, which can cause faults when loading SBT data.

Fix this by both setting triangle positions to nan to prevent triangle hits, and setting proper geometry indices for all nodes.

Closes #10521 (closed)

Edited by Friedrich Vock

Merge request reports