diff options
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Constants.cs')
| -rw-r--r-- | src/Ryujinx.Graphics.Gpu/Constants.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Constants.cs b/src/Ryujinx.Graphics.Gpu/Constants.cs index c553d988..23b9be5c 100644 --- a/src/Ryujinx.Graphics.Gpu/Constants.cs +++ b/src/Ryujinx.Graphics.Gpu/Constants.cs @@ -89,5 +89,10 @@ namespace Ryujinx.Graphics.Gpu /// Maximum size that an storage buffer is assumed to have when the correct size is unknown. /// </summary> public const ulong MaxUnknownStorageSize = 0x100000; + + /// <summary> + /// Size of a bindless texture handle as exposed by guest graphics APIs. + /// </summary> + public const int TextureHandleSizeInBytes = sizeof(ulong); } } |
