Merge pull request #11095 from K0bin/misc-vulkan

Remove special treatment for Android in video settings
This commit is contained in:
Admiral H. Curtiss
2022-10-08 22:24:30 +02:00
committed by GitHub
4 changed files with 3 additions and 14 deletions

View File

@ -69,17 +69,10 @@ const Info<bool> GFX_BORDERLESS_FULLSCREEN{{System::GFX, "Settings", "Borderless
const Info<bool> GFX_ENABLE_VALIDATION_LAYER{{System::GFX, "Settings", "EnableValidationLayer"},
false};
#if defined(ANDROID)
const Info<bool> GFX_BACKEND_MULTITHREADING{{System::GFX, "Settings", "BackendMultithreading"},
false};
const Info<int> GFX_COMMAND_BUFFER_EXECUTE_INTERVAL{
{System::GFX, "Settings", "CommandBufferExecuteInterval"}, 0};
#else
const Info<bool> GFX_BACKEND_MULTITHREADING{{System::GFX, "Settings", "BackendMultithreading"},
true};
const Info<int> GFX_COMMAND_BUFFER_EXECUTE_INTERVAL{
{System::GFX, "Settings", "CommandBufferExecuteInterval"}, 100};
#endif
const Info<bool> GFX_SHADER_CACHE{{System::GFX, "Settings", "ShaderCache"}, true};
const Info<bool> GFX_WAIT_FOR_SHADERS_BEFORE_STARTING{

View File

@ -152,11 +152,7 @@ struct VideoConfig final
bool bEnableValidationLayer = false;
// Multithreaded submission, currently only supported with Vulkan.
#if defined(ANDROID)
bool bBackendMultithreading = false;
#else
bool bBackendMultithreading = true;
#endif
// Early command buffer execution interval in number of draws.
// Currently only supported with Vulkan.