Address PR feedback

Add TODO comment for GL_EXT_polygon_offset_clamp
This commit is contained in:
gdkchan
2020-01-05 22:04:37 -03:00
committed by Thog
parent 383452f5cf
commit 18814d44b2
16 changed files with 104 additions and 101 deletions

View File

@ -13,7 +13,7 @@ namespace Ryujinx.Graphics.Shader.Decoders
public OpCodeBranchIndir BrIndir { get; set; }
public List<OpCode> OpCodes { get; }
public List<OpCode> OpCodes { get; }
public List<OpCodePush> PushOpCodes { get; }
public Block(ulong address)

View File

@ -60,7 +60,7 @@ namespace Ryujinx.Graphics.Shader.Instructions
if (intType == IntegerType.U64)
{
// TODO: Warning. This instruction supports 64-bits integers, but it is not implemented.
context.Config.PrintLog("Unimplemented 64-bits F2I.");
return;
}
@ -172,7 +172,7 @@ namespace Ryujinx.Graphics.Shader.Instructions
if (srcType == IntegerType.U64 || dstType == IntegerType.U64)
{
// TODO: Warning. This instruction doesn't support 64-bits integers.
context.Config.PrintLog("Invalid I2I encoding.");
return;
}

View File

@ -53,10 +53,10 @@ namespace Ryujinx.Graphics.Shader.Instructions
}
else if (floatType == FPType.FP64)
{
// TODO.
// TODO: Double floating-point type support.
}
// TODO: Warn about invalid floating point type.
context.Config.PrintLog($"Invalid floating point type: {floatType}.");
return ConstF(0);
}

View File

@ -198,7 +198,7 @@ namespace Ryujinx.Graphics.Shader.Instructions
if (!(emit || cut))
{
// TODO: Warning.
context.Config.PrintLog("Invalid OUT encoding.");
}
if (emit)

View File

@ -9,7 +9,7 @@ namespace Ryujinx.Graphics.Shader.Translation
public const int StorageDescSize = 4; // In words.
public const int StorageMaxCount = 16;
public const int StorageDescsSize = StorageDescSize * StorageMaxCount;
public const int StorageDescsSize = StorageDescSize * StorageMaxCount;
public static bool UsesGlobalMemory(Instruction inst)
{

View File

@ -22,8 +22,6 @@ namespace Ryujinx.Graphics.Shader.Translation
if (cfg == null)
{
// TODO: Error.
return code;
}