mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 11:03:04 +00:00
4218311e6a
* Fix Push Descriptors * Use push descriptor templates * Use reserved bindings * Formatting * Disable when using MVK ("my heart will go on" starts playing as thousands of mac users shed a tear in unison) * Introduce limit on push descriptor binding number The bitmask used for updating push descriptors is ulong, so only 64 bindings can be tracked for now. * Address feedback * Fix logic for binding rejection Should only offset limit when reserved bindings are less than the requested one. * Workaround pascal and older nv bug * Add GPU number detection for nvidia * Only do workaround if it's valid to do so.
12 lines
366 B
C#
12 lines
366 B
C#
namespace Ryujinx.Graphics.Vulkan
|
|
{
|
|
static class VulkanConfiguration
|
|
{
|
|
public const bool UseFastBufferUpdates = true;
|
|
public const bool UseUnsafeBlit = true;
|
|
public const bool UsePushDescriptors = true;
|
|
|
|
public const bool ForceD24S8Unsupported = false;
|
|
public const bool ForceRGB16IntFloatUnsupported = false;
|
|
}
|
|
}
|