From 4fae7ad4a9870be09c9e62ed830545f293db5890 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Tue, 19 Mar 2019 15:38:34 -0400 Subject: [PATCH] - 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. --- wadsrc/static/menudef.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/wadsrc/static/menudef.txt b/wadsrc/static/menudef.txt index cfed6b614..cc89dd2c7 100644 --- a/wadsrc/static/menudef.txt +++ b/wadsrc/static/menudef.txt @@ -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" +} \ No newline at end of file