Home | History | Annotate | Download | only in shaders
      1 group custom "Custom loop tests"
      2 
      3 	case continue_in_fragment_for_loop
      4 		version 300 es
      5 		vertex ""
      6 			#version 300 es
      7 			${VERTEX_DECLARATIONS}
      8 			void main()
      9 			{
     10 				${VERTEX_OUTPUT}
     11 			}
     12 		""
     13 		fragment ""
     14 			#version 300 es
     15 			${FRAGMENT_DECLARATIONS}
     16 			void main()
     17 			{
     18 				int count1 = 0;
     19 				for(int i=0;i<4;i++)
     20 				{
     21 					if (count1 == 2)
     22 						continue;
     23 				}
     24 				${FRAG_COLOR} = vec4(1.0);
     25 			}
     26 		""
     27 	end
     28 
     29 end # custom
     30