diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-08-11 17:06:09 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-11 22:06:09 +0200 |
| commit | 10d649e6d3ad3e4af32d2b41e718bb0a2924da67 (patch) | |
| tree | 874be1577eaa76e58f4084cbeefd97069184bd0e /Ryujinx.Graphics.Gpu/GraphicsConfig.cs | |
| parent | bb8a920b63d6d287dba8ec42e298329b933f9654 (diff) | |
Calculate vertex buffer sizes from index buffer (#1663)
* Calculate vertex buffer size from maximum index buffer index
* Increase maximum index buffer count for it to be considered profitable for counting
Diffstat (limited to 'Ryujinx.Graphics.Gpu/GraphicsConfig.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/GraphicsConfig.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/GraphicsConfig.cs b/Ryujinx.Graphics.Gpu/GraphicsConfig.cs index 7ef102e2..14735e3b 100644 --- a/Ryujinx.Graphics.Gpu/GraphicsConfig.cs +++ b/Ryujinx.Graphics.Gpu/GraphicsConfig.cs @@ -34,6 +34,11 @@ namespace Ryujinx.Graphics.Gpu public static bool EnableMacroJit = true; /// <summary> + /// Enables or disables vertex buffer size detection from the index buffer, for indexed draws. + /// </summary> + public static bool EnableIndexedVbSizeDetection = true; + + /// <summary> /// Title id of the current running game. /// Used by the shader cache. /// </summary> |
