From dc2c636f331701eb88930f3030ae70d1bd2fa003 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sun, 31 Jul 2016 14:12:10 -1000 Subject: [PATCH] Early fragment tests and alpha compare to emulate GX use --- hecl/lib/Backend/GLSL.cpp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/hecl/lib/Backend/GLSL.cpp b/hecl/lib/Backend/GLSL.cpp index 32ec3f589..3403f9a0e 100644 --- a/hecl/lib/Backend/GLSL.cpp +++ b/hecl/lib/Backend/GLSL.cpp @@ -201,9 +201,15 @@ std::string GLSL::makeFrag(const char* glslVer, bool alphaTest, for (unsigned i=0 ; i