• Home
  • Raw
  • Download

Lines Matching refs:vec3

24 			input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(7.4, -1.0, 2.0) | vec3(3.0, 1.6, -2.0) ];
25 output vec3 out0 = [ vec3(2.0, 0.5, 1.0) | vec3(2.0, 7.4, -1.0) | vec3(-2.0, 3.0, 1.6) ];
38 out0 = vec3(x[0], x[1], x[2]);
170 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ];
171 output vec3 out0 = [ vec3(2.0, -0.5, -1.0) ];
188 vec3 v;
191 test a = test(in0.z, vec3(in0.x, in0.y, in0.z));
192 test b = test(in0.y, vec3(-in0.z, -in0.x, -in0.y));
193 test c = test(in0.x, vec3(-in0.y, in0.z, -in0.x));
197 out0 = vec3(x[0].f, x[1].v.y, x[2].v.x);
225 vec3 v;
228 test a = test(in0.z, vec3(in0.x, in0.y, in0.z));
229 test b = test(in0.y, vec3(-in0.z, -in0.x, -in0.y));
230 test c = test(in0.x, vec3(-in0.y, in0.z, -in0.x));
231 test d = test(-in0.w, vec3(-in0.w, -in0.x, -in0.z));
246 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(7.4, -1.0, 2.0) | vec3(3.0, 1.6, -2.0) ];
247 output vec3 out0 = [ vec3(0.5, -2.0, 1.0) | vec3(7.4, -2.0, -1.0) | vec3(3.0, 2.0, 1.6) ];
259 vec3[3] x;
260 x = vec3[3] ( vec3(in0.x, in0.y, in0.z) ,
261 vec3(-in0.y, -in0.z, -in0.x),
262 vec3(in0.z, in0.x, in0.y) );
263 out0 = vec3(x[0].x, x[1].y, x[2].z);
328 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-1.5, 0.0, -2.3) ];
329 output vec3 out0 = [ vec3(0.5, -1.0, 1.0) | vec3(-1.5, 0.0, 0.0) ];
358 out0 = vec3(ret0, ret1, ret2);
453 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(7.4, -1.0, 2.0) | vec3(3.0, 1.6, -2.0) ];
454 output vec3 out0 = [ vec3(2.0, -0.5, 1.0) | vec3(2.0, -7.4, -1.0) | vec3(-2.0, -3.0, 1.6) ];
462 float[3] func(vec3 a)
471 out0 = vec3(x[0], x[1], x[2]);
540 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ];
541 output vec3 out0 = [ vec3(1.0, 0.5, -2.0) | vec3(11.2, -0.5, 1.0) ];
549 vec3[3] func(vec3[3] a)
551 return vec3[3] (a[1], a[2], a[0]);
557 vec3[3] x = vec3[3](vec3(in0.x, in0.y, -in0.z) ,
558 vec3(in0.y, -in0.z, in0.x) ,
559 vec3(-in0.z, in0.x, in0.y) );
561 out0 = vec3(x[0].x, x[1].y, x[2].z);
571 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ];
572 output vec3 out0 = [ vec3(-1.0, 2.0, 0.5) ];
583 vec3 v;
595 test a = test(in0.z, vec3(in0.x, in0.y, in0.z));
596 test b = test(in0.y, vec3(-in0.z, -in0.x, -in0.y));
597 test c = test(in0.x, vec3(-in0.y, in0.z, -in0.x));
602 out0 = vec3(x[0].v.z, x[1].v.y, x[2].v.x);
676 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-1.5, 0.0, -2.3) ];
677 output vec3 out0 = [ vec3(2.0, -1.0, 2.0) | vec3(-2.3, 0.0, -2.3) ];
718 out0 = vec3(ret0, ret1, ret2);
837 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(7.4, -1.0, 2.0) | vec3(3.0, 1.6, -2.0) ];
838 output vec3 out0 = [ vec3(2.0, 0.5, 1.0) | vec3(2.0, 7.4, -1.0) | vec3(-2.0, 3.0, 1.6) ];
853 out0 = vec3(b[0], b[1], b[2]);
934 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ];
935 output vec3 out0 = [ vec3(-1.0, 2.0, 0.5) ];
946 vec3 v;
955 test a = test(in0.z, vec3(in0.x, in0.y, in0.z));
956 test b = test(in0.y, vec3(-in0.z, -in0.x, -in0.y));
957 test c = test(in0.x, vec3(-in0.y, in0.z, -in0.x));
961 out0 = vec3(x[0].v.z, x[1].v.y, x[2].v.x);
977 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ];
978 output vec3 out0 = [ vec3(1.0, 0.5, -2.0) | vec3(11.2, -0.5, 1.0) ];
986 vec3[3] func(vec3[3]);
991 vec3[3] x = vec3[3](vec3(in0.x, in0.y, -in0.z) ,
992 vec3(in0.y, -in0.z, in0.x) ,
993 vec3(-in0.z, in0.x, in0.y) );
995 out0 = vec3(x[0].x, x[1].y, x[2].z);
999 vec3[3] func(vec3[3] a)
1001 return vec3[3] (a[1], a[2], a[0]);
1079 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-1.5, 0.0, -2.3) ];
1080 output vec3 out0 = [ vec3(2.0, -1.0, 2.0) | vec3(-2.3, 0.0, -2.3) ];
1114 out0 = vec3(ret0, ret1, ret2);
1245 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(7.4, -1.0, 2.0) | vec3(3.0, 1.6, -2.0) ];
1246 output vec3 out0 = [ vec3(2.0, 0.5, 1.0) | vec3(2.0, 7.4, -1.0) | vec3(-2.0, 3.0, 1.6) ];
1260 out0 = vec3(y[0], y[1], y[2]);
1321 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ];
1322 output vec3 out0 = [ vec3(-1.0, -0.5, 2.0) ];
1333 vec3 v;
1340 test a = test(in0.z, vec3(in0.x, in0.y, in0.z));
1341 test b = test(in0.y, vec3(-in0.z, -in0.x, -in0.y));
1342 test c = test(in0.x, vec3(-in0.y, in0.z, -in0.x));
1347 out0 = vec3(y[0].v.x, y[1].v.y, y[2].v.z);
1357 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ];
1358 output vec3 out0 = [ vec3(0.5, -2.0, 1.0) | vec3(-0.5, 1.0, 11.2) ];
1369 vec3[] x = vec3[] ( vec3(in0.x, in0.y, -in0.z) ,
1370 vec3(in0.y, -in0.z, in0.x) ,
1371 vec3(-in0.z, in0.x, in0.y) );
1372 vec3[] y = x;
1373 out0 = vec3(y[0].x, y[1].y, y[2].z);
1436 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-1.5, 0.0, -2.3) ];
1437 output vec3 out0 = [ vec3(0.5, -1.0, 1.0) | vec3(-1.5, 0.0, 0.0) ];
1466 out0 = vec3(ret0, ret1, ret2);
1580 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ];
1581 output vec3 out0 = [ vec3(-2.0, -1.0, -0.5) ];
1598 out0 = vec3(x, y, z);
1608 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ];
1610 output vec3 out0 = [ vec3(-2.0, -1.0, -0.5) ];
1624 out0 = vec3(x, y, z);
1634 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ];
1635 output vec3 out0 = [ vec3(2.0, -1.0, 0.5) ];
1648 out0 = vec3(x[2], y[1], x[0]);
1686 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ];
1765 input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ];
1777 vec3 v;
1784 test a = test(in0.z, vec3(in0.x, in0.y, in0.z));
1785 test b = test(in0.y, vec3(-in0.z, -in0.x, -in0.y));
1786 test c = test(in0.x, vec3(-in0.y, in0.z, -in0.x));