Add some rendertarget formats

This commit is contained in:
ReinUsesLisp 2018-08-16 20:05:56 -03:00
parent 679c2dde27
commit 7acfc95254
2 changed files with 5 additions and 9 deletions

View file

@ -98,17 +98,11 @@ namespace Ryujinx.Graphics.Gal
break;
case GalTextureType.Snorm_Force_Fp16:
switch (Format)
{
//TODO
}
//TODO
break;
case GalTextureType.Unorm_Force_Fp16:
switch (Format)
{
//TODO
}
//TODO
break;
case GalTextureType.Float:
@ -145,6 +139,8 @@ namespace Ryujinx.Graphics.Gal
case GalFrameBufferFormat.RG16Snorm: return GalImageFormat.R16G16_SNORM;
case GalFrameBufferFormat.RG16Float: return GalImageFormat.R16G16_SFLOAT;
case GalFrameBufferFormat.RG8Snorm: return GalImageFormat.R8_SNORM;
case GalFrameBufferFormat.RGBA8Snorm: return GalImageFormat.A8B8G8R8_SNORM_PACK32;
case GalFrameBufferFormat.RG8Unorm: return GalImageFormat.R8G8_UNORM;
}
throw new NotImplementedException(Format.ToString());

View file

@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace Ryujinx.Graphics.Gal.OpenGL
{
public class OGLRasterizer : IGalRasterizer
class OGLRasterizer : IGalRasterizer
{
private int[] VertexBuffers;