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
This commit is contained in:
gdkchan 2021-08-11 17:06:09 -03:00 committed by GitHub
parent bb8a920b63
commit 10d649e6d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 352 additions and 5 deletions

View file

@ -33,6 +33,11 @@ namespace Ryujinx.Graphics.Gpu
/// </summary>
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.