diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp index bb95160cd3..af932e1416 100644 --- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp @@ -928,7 +928,8 @@ static bool WriteAlphaTest(char *&p) break; } - WRITE(p, "clip( "); + // Seems we need clip for Cg and discard for d3d. sigh. + WRITE(p, "discard( "); WriteAlphaCompare(p, 0, bpmem.alphaFunc.comp0); // negated because testing the inverse condition