radv/rt: use terminate() when returning from raygen shaders
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 26 Jan 2023 17:45:01 +0000 (18:45 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 8 Mar 2023 16:59:41 +0000 (16:59 +0000)
commit41ae2d0725b3ecd2018a6105981a6db7b87c3e79
treefb2aa179d8bb012ae5810f470b5ab82eb77aec99
parentcd1e5b185852eaa67142a3f30baf8c3561aa6b72
radv/rt: use terminate() when returning from raygen shaders

Q2RTX stats:
Totals from 7 (0.01% of 134913) affected shaders:

CodeSize: 204712 -> 204744 (+0.02%); split: -0.06%, +0.07%
Instrs: 37526 -> 37522 (-0.01%); split: -0.07%, +0.06%
Latency: 950563 -> 956024 (+0.57%)
InvThroughput: 187915 -> 188977 (+0.57%)
Copies: 4829 -> 4763 (-1.37%)
Branches: 1570 -> 1583 (+0.83%)
PreSGPRs: 407 -> 400 (-1.72%)
PreVGPRs: 614 -> 617 (+0.49%)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21736>
src/amd/compiler/aco_lower_to_hw_instr.cpp
src/amd/vulkan/radv_rt_shader.c