radv: fix setting EXCP_EN for different shader stages
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 25 Aug 2020 06:43:56 +0000 (08:43 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 26 Aug 2020 06:12:22 +0000 (08:12 +0200)
commit0d8ae4ac15034cf91e53a7258aae920532e72abd
treeaa87e46a878236818bf596708a23f35e5e239ff8
parent05a0349949921406aefe1d99e9d2af84629997e1
radv: fix setting EXCP_EN for different shader stages

While TRAP_PRESENT is always at the same place, EXCP_EN can be
different between shader stages. This sets it properly.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6452>
src/amd/vulkan/radv_shader.c