radv/rt: create traversal shader independent from main shader
In future, it will be necessary to be able to compile the traversal shader independently from the main shader.
PERCENTAGE DELTAS Shaders CodeSize Instrs Latency InvThroughput Copies Branches
q2rtx 49 -0.06% -0.11% -2.01% -1.99% -1.02% -0.33%
-------------------------------------------------------------------------------------------
All affected 7 -0.10% -0.19% -2.52% -2.56% -1.48% -0.44%
-------------------------------------------------------------------------------------------
Total 49 -0.06% -0.11% -2.01% -1.99% -1.02% -0.33%
Stats look mixed, but benchmarks suggest that it slightly improves performance.
With the added patch, stats look fine now :)
Edited by Daniel Schürmann