mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-30 21:42:08 +01:00
9e141bc3da
This implement GetIndirectLayerImageRequiredMemoryInfo call from vi service, accordingly to RE. Thanks to Thog and gdkchan for helping me to understand some GPU things. Close #942
14 lines
No EOL
342 B
C#
14 lines
No EOL
342 B
C#
namespace Ryujinx.HLE.HOS.Services.Vi
|
|
{
|
|
enum ResultCode
|
|
{
|
|
ModuleId = 114,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
InvalidArguments = (1 << ErrorCodeShift) | ModuleId,
|
|
InvalidLayerSize = (4 << ErrorCodeShift) | ModuleId,
|
|
InvalidScalingMode = (6 << ErrorCodeShift) | ModuleId
|
|
}
|
|
} |