Add some rendertarget formats
This commit is contained in:
parent
679c2dde27
commit
7acfc95254
2 changed files with 5 additions and 9 deletions
|
@ -98,17 +98,11 @@ namespace Ryujinx.Graphics.Gal
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GalTextureType.Snorm_Force_Fp16:
|
case GalTextureType.Snorm_Force_Fp16:
|
||||||
switch (Format)
|
//TODO
|
||||||
{
|
|
||||||
//TODO
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GalTextureType.Unorm_Force_Fp16:
|
case GalTextureType.Unorm_Force_Fp16:
|
||||||
switch (Format)
|
//TODO
|
||||||
{
|
|
||||||
//TODO
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GalTextureType.Float:
|
case GalTextureType.Float:
|
||||||
|
@ -145,6 +139,8 @@ namespace Ryujinx.Graphics.Gal
|
||||||
case GalFrameBufferFormat.RG16Snorm: return GalImageFormat.R16G16_SNORM;
|
case GalFrameBufferFormat.RG16Snorm: return GalImageFormat.R16G16_SNORM;
|
||||||
case GalFrameBufferFormat.RG16Float: return GalImageFormat.R16G16_SFLOAT;
|
case GalFrameBufferFormat.RG16Float: return GalImageFormat.R16G16_SFLOAT;
|
||||||
case GalFrameBufferFormat.RG8Snorm: return GalImageFormat.R8_SNORM;
|
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());
|
throw new NotImplementedException(Format.ToString());
|
||||||
|
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Ryujinx.Graphics.Gal.OpenGL
|
namespace Ryujinx.Graphics.Gal.OpenGL
|
||||||
{
|
{
|
||||||
public class OGLRasterizer : IGalRasterizer
|
class OGLRasterizer : IGalRasterizer
|
||||||
{
|
{
|
||||||
private int[] VertexBuffers;
|
private int[] VertexBuffers;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue