Format
This commit is contained in:
parent
2f5be2c6ee
commit
3db4cbb9a9
3 changed files with 7 additions and 6 deletions
|
@ -1,7 +1,6 @@
|
||||||
using Ryujinx.Graphics.GAL;
|
using Ryujinx.Graphics.GAL;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Ryujinx.Common.Logging;
|
|
||||||
|
|
||||||
namespace Ryujinx.Graphics.Gpu.Image
|
namespace Ryujinx.Graphics.Gpu.Image
|
||||||
{
|
{
|
||||||
|
@ -62,7 +61,8 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets MaxTextureCapacity Dynamically
|
/// Gets MaxTextureCapacity Dynamically
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private ulong GetMaxTextureCapacity() {
|
private ulong GetMaxTextureCapacity()
|
||||||
|
{
|
||||||
Capabilities capabilities = _context.Capabilities;
|
Capabilities capabilities = _context.Capabilities;
|
||||||
|
|
||||||
if (capabilities.MaximumGpuMemory <= 0)
|
if (capabilities.MaximumGpuMemory <= 0)
|
||||||
|
|
|
@ -785,7 +785,8 @@ namespace Ryujinx.Graphics.Vulkan
|
||||||
maximumGpuMemory: GetTotalGPUMemory());
|
maximumGpuMemory: GetTotalGPUMemory());
|
||||||
}
|
}
|
||||||
|
|
||||||
public ulong GetTotalGPUMemory(){
|
public ulong GetTotalGPUMemory()
|
||||||
|
{
|
||||||
|
|
||||||
ulong totalMemory = 0;
|
ulong totalMemory = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue