render/vulkan: get only available validation layers#3318
render/vulkan: get only available validation layers#3318bl4ckb0ne wants to merge 1 commit intoswaywm:masterfrom
Conversation
9372b1e to
176db99
Compare
|
This only addresses the layer availability part of #3283. When people really start using the Vulkan renderer, they probably want to run it without the validation layer and so we should offer an option to not enable it (even though I don't think it should be the default yet). Note that currently we consider the |
|
When the Vulkan renderer is deemed production-ready, we can remove all of this code: people can always enable it again with |
|
We could do two iterations of the validation layers, first one to enable them if present, then another one to enable them on demand. I tried to do a bit of both here but it's not very good. I'll rework the patch with your feedback @nyorain and I'll open a new issue for |
e2c5ee3 to
205e575
Compare
205e575 to
347b326
Compare
|
wlroots has migrated to gitlab.freedesktop.org. This pull request has been moved to: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3318 |
Fixes #3283
/cc @nyorain