Revert "radv: fix finding shaders by PC"
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 23 Oct 2023 13:43:17 +0000 (15:43 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 24 Oct 2023 14:19:13 +0000 (14:19 +0000)
commitf9cc2c5ba443c8b809df03dde9f053f5339b1139
treee9e6e9b945af21352c4290656a9b6c2920dfd35b
parent653bcbcb091d4619bca6edfc44a0a2cfc4f30d50
Revert "radv: fix finding shaders by PC"

Shaders are no longer allocated contiguously in memory and the next
pointer is now the shader.

This fixes using the trap handler on GFX8.

This reverts commit 2dcd12f38be629086148dfc9ff0da90aa1fc9698.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25852>
src/amd/vulkan/radv_shader.c