mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 17:49:01 +00:00
VideoCommon: Add configuration to prefer VS for line/point expansion
This commit is contained in:
parent
1eeba6dcca
commit
0a42c534c3
6 changed files with 28 additions and 2 deletions
|
@ -106,6 +106,7 @@ struct VideoConfig final
|
|||
bool bInternalResolutionFrameDumps = false;
|
||||
bool bBorderlessFullscreen = false;
|
||||
bool bEnableGPUTextureDecoding = false;
|
||||
bool bPreferVSForLinePointExpansion = false;
|
||||
int iBitrateKbps = 0;
|
||||
bool bGraphicMods = false;
|
||||
std::optional<GraphicsModGroupConfig> graphics_mod_config;
|
||||
|
@ -230,7 +231,9 @@ struct VideoConfig final
|
|||
{
|
||||
if (!backend_info.bSupportsVSLinePointExpand)
|
||||
return false;
|
||||
return !backend_info.bSupportsGeometryShaders;
|
||||
if (!backend_info.bSupportsGeometryShaders)
|
||||
return true;
|
||||
return bPreferVSForLinePointExpansion;
|
||||
}
|
||||
bool MultisamplingEnabled() const { return iMultisamples > 1; }
|
||||
bool ExclusiveFullscreenEnabled() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue