radv: do not abort if SPM isn't supported for the current GPU
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 29 Jun 2022 09:04:00 +0000 (11:04 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 4 Jul 2022 11:08:32 +0000 (13:08 +0200)
commit25d5ef0450639b48c96d11acf64577cd991a14ba
tree8fe117e9286fcbdc02ea6d69b02d3a450768fb3b
parent06a48e599e1f5aa7b4d5c4ea81f9b77e6dfb517d
radv: do not abort if SPM isn't supported for the current GPU

In a mixed GFX9/GFX10 setup, this would crash for the GFX9 logical
device. Just print a message intead of aborting.

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/17292>
src/amd/vulkan/radv_device.c