diff options
| author | TellowKrinkle <tellowkrinkle@gmail.com> | 2022-07-23 00:47:04 -0500 |
|---|---|---|
| committer | TellowKrinkle <tellowkrinkle@gmail.com> | 2022-10-22 20:13:24 -0500 |
| commit | 68f49df0f8a845eecd1e65c4d75dfbee3bdc989e (patch) | |
| tree | 95fd1e84279cba083fa8e776ba439b59ad7503a7 /Source/Core/VideoCommon/VideoConfig.h | |
| parent | 804e42150e03532e63ecc5a7f6f6eed751a132af (diff) | |
VideoCommon: Add vertex shader point and line expansion
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.h')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.h b/Source/Core/VideoCommon/VideoConfig.h index 579cf5e30a..dfdd0ffe79 100644 --- a/Source/Core/VideoCommon/VideoConfig.h +++ b/Source/Core/VideoCommon/VideoConfig.h @@ -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 { |
