projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
701f2c3
)
radv: display an error message if the winsys init failed
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Wed, 29 Apr 2020 12:09:10 +0000
(14:09 +0200)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 6 May 2020 06:44:21 +0000
(06:44 +0000)
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/4806>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index c4e1a548c6c76badee5ae4daeff7f2048cf4b475..ceedb4a0c5abf257cfce9768a7c3b752fa51371b 100644
(file)
--- a/
src/amd/vulkan/radv_device.c
+++ b/
src/amd/vulkan/radv_device.c
@@
-304,7
+304,8
@@
radv_physical_device_try_create(struct radv_instance *instance,
}
if (!device->ws) {
- result = vk_error(instance, VK_ERROR_INITIALIZATION_FAILED);
+ result = vk_errorf(instance, VK_ERROR_INITIALIZATION_FAILED,
+ "failed to initialize winsys");
goto fail_alloc;
}