- implement a menu for Vulkan. todo: Implement a way to select a Vulkan renderer directly, also todo: Hide Vulkan menu if the system doesn't support it.

This commit is contained in:
Rachael Alexanderson 2019-03-19 15:38:34 -04:00
parent 3c594c6c93
commit 4fae7ad4a9

View file

@ -861,6 +861,7 @@ OptionMenu "VideoOptions" protected
Submenu "$DSPLYMNU_GLOPT", "OpenGLOptions"
Submenu "$DSPLYMNU_SWOPT", "SWROptions"
Submenu "$DSPLYMNU_VKOPT", "VKOptions"
Submenu "$GLMNU_DYNLIGHT", "GLLightOptions"
Submenu "$DSPLYMNU_SCOREBOARD", "ScoreboardOptions"
StaticText " "
@ -2657,3 +2658,20 @@ OptionValue "os_isanyof_values"
0, "$OS_ALL"
1, "$OS_ANY"
}
/*=======================================
*
* Vulkan Menu
*
*=======================================*/
OptionMenu "vkoptions"
{
Title "$VK_TITLE"
StaticText "$VK_WARNING"
StaticText "$VK_RESTART"
StaticText ""
Option "$VKMNU_ENABLE", "vid_backend", "OffOn"
TextField "$VKMNU_DEVICE", vk_device
Option "$VKMNU_HDR", "vk_hdr", "OnOff"
}