From 97ca974213ec9564ed4a9c57e998ca726dbbb64f Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Thu, 5 Jul 2018 15:47:29 -0300 Subject: Implement some GPU features (#209) * Implement stencil testing * Implement depth testing * Implement face culling * Implement front face * Comparison functions now take OGL enums too * Fix front facing when flipping was used * Add depth and stencil clear values --- Ryujinx.Graphics/Gal/GalCullFace.cs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Ryujinx.Graphics/Gal/GalCullFace.cs (limited to 'Ryujinx.Graphics/Gal/GalCullFace.cs') diff --git a/Ryujinx.Graphics/Gal/GalCullFace.cs b/Ryujinx.Graphics/Gal/GalCullFace.cs new file mode 100644 index 00000000..4ab3e174 --- /dev/null +++ b/Ryujinx.Graphics/Gal/GalCullFace.cs @@ -0,0 +1,9 @@ +namespace Ryujinx.Graphics.Gal +{ + public enum GalCullFace + { + Front = 0x404, + Back = 0x405, + FrontAndBack = 0x408 + } +} -- cgit v1.2.3