diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-01-05 22:04:37 -0300 |
|---|---|---|
| committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
| commit | 18814d44b2e19f7a93ed48ef4799ced585d071e9 (patch) | |
| tree | 23270d97f5836e3eb7b07c905259065718504422 /Ryujinx.Graphics.Shader/Instructions | |
| parent | 383452f5cf2a81d50ef1a5e630fba45c6fb97647 (diff) | |
Address PR feedback
Add TODO comment for GL_EXT_polygon_offset_clamp
Diffstat (limited to 'Ryujinx.Graphics.Shader/Instructions')
3 files changed, 5 insertions, 5 deletions
diff --git a/Ryujinx.Graphics.Shader/Instructions/InstEmitConversion.cs b/Ryujinx.Graphics.Shader/Instructions/InstEmitConversion.cs index 8c06a24b..afec7761 100644 --- a/Ryujinx.Graphics.Shader/Instructions/InstEmitConversion.cs +++ b/Ryujinx.Graphics.Shader/Instructions/InstEmitConversion.cs @@ -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; } diff --git a/Ryujinx.Graphics.Shader/Instructions/InstEmitHelper.cs b/Ryujinx.Graphics.Shader/Instructions/InstEmitHelper.cs index 22e2a140..13035427 100644 --- a/Ryujinx.Graphics.Shader/Instructions/InstEmitHelper.cs +++ b/Ryujinx.Graphics.Shader/Instructions/InstEmitHelper.cs @@ -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); } diff --git a/Ryujinx.Graphics.Shader/Instructions/InstEmitMemory.cs b/Ryujinx.Graphics.Shader/Instructions/InstEmitMemory.cs index 2145920e..25bf2592 100644 --- a/Ryujinx.Graphics.Shader/Instructions/InstEmitMemory.cs +++ b/Ryujinx.Graphics.Shader/Instructions/InstEmitMemory.cs @@ -198,7 +198,7 @@ namespace Ryujinx.Graphics.Shader.Instructions if (!(emit || cut)) { - // TODO: Warning. + context.Config.PrintLog("Invalid OUT encoding."); } if (emit) |
