radv: fix creating null devices if KHR_display is enabled
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 26 Feb 2020 09:21:24 +0000 (10:21 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 26 Feb 2020 10:28:46 +0000 (10:28 +0000)
commitd2e4435c205810b71990c27befde2f99ed45b9df
treed5aeca11d8514eaa0b59ba332e01d03fb5fb6470
parentef0abe5404ca3bb983e4afcbf2306291a15579ca
radv: fix creating null devices if KHR_display is enabled

Found this while replaying pipelines with Fossilize, it worked
fine with vkpipeline-db.

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