Home | History | Annotate | Download | only in shaders
      1 group compound_assignment "Compound assignments with interesting lvalues"
      2 
      3 	case mul_swizzled_vec_by_matrix
      4 		values { output vec4 out0 = vec4(1.0, 2.0, 3.0, 4.0); }
      5 		both ""
      6 			precision highp float;
      7 			${DECLARATIONS}
      8 
      9 			void main()
     10 			{
     11 				out0 = vec4(1.0, 2.0, 3.0, 4.0);
     12 				out0.xy *= mat2(1.0, 0.0, 0.0, 1.0);
     13 				${OUTPUT}
     14 			}
     15 		""
     16 	end
     17 
     18 end # compound_assignment
     19