Fix gles2 shader mixed_return_break_continue test to use proper loop form.
authorJarkko Pöyry <jpoyry@google.com>
Thu, 12 Mar 2015 21:25:23 +0000 (14:25 -0700)
committerJarkko Pöyry <jpoyry@google.com>
Thu, 12 Mar 2015 21:25:23 +0000 (14:25 -0700)
- Fix for counter form to not exceed limitations defined in Appendix A.

Bug: 19678840
Change-Id: Id2cf5987fa60c8c79c8c85c500624d332233223a

data/gles2/shaders/functions.test

index 62f8879..3f03112 100644 (file)
@@ -2409,8 +2409,7 @@ group control_flow "Control Flow In Functions"
 
                        float func (float a)
                        {
-                               int i;
-                               for (i = 0; i < 6; i++)
+                               for (int i = 0; i < 6; i++)
                                {
                                        if (i == 0)
                                                continue;