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