Fixed initializing the 'leave' enable mask on every shader iteration.
diff --git a/src/Shader/PixelRoutine.cpp b/src/Shader/PixelRoutine.cpp
index 2528a9c..42f6189 100644
--- a/src/Shader/PixelRoutine.cpp
+++ b/src/Shader/PixelRoutine.cpp
@@ -3781,6 +3781,11 @@
 		r.enableIndex = 0;
 		r.stackIndex = 0;
 
+		if(shader->containsLeaveInstruction())
+		{
+			r.enableLeave = Int4(0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF);
+		}
+
 		bool out[4][4] = {false};
 
 		// Create all call site return blocks up front