mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-15 23:08:51 +00:00
VideoCommon: Add vertex shader point and line expansion
This commit is contained in:
parent
804e42150e
commit
68f49df0f8
17 changed files with 584 additions and 73 deletions
|
@ -222,9 +222,16 @@ struct VideoConfig final
|
|||
bool bSupportsSettingObjectNames = false;
|
||||
bool bSupportsPartialMultisampleResolve = false;
|
||||
bool bSupportsDynamicVertexLoader = false;
|
||||
bool bSupportsVSLinePointExpand = false;
|
||||
} backend_info;
|
||||
|
||||
// Utility
|
||||
bool UseVSForLinePointExpand() const
|
||||
{
|
||||
if (!backend_info.bSupportsVSLinePointExpand)
|
||||
return false;
|
||||
return !backend_info.bSupportsGeometryShaders;
|
||||
}
|
||||
bool MultisamplingEnabled() const { return iMultisamples > 1; }
|
||||
bool ExclusiveFullscreenEnabled() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue