Home
last modified time | relevance | path

Searched refs:vec2 (Results 1 – 25 of 99) sorted by relevance

1234

/external/mesa3d/src/glsl/builtins/profiles/
D100.vert6 vec2 radians(vec2 degrees);
11 vec2 degrees(vec2 radians);
16 vec2 sin(vec2 angle);
21 vec2 cos(vec2 angle);
26 vec2 tan(vec2 angle);
31 vec2 asin(vec2 angle);
36 vec2 acos(vec2 angle);
41 vec2 atan(vec2 y, vec2 x);
46 vec2 atan(vec2 y_over_x);
54 vec2 pow(vec2 x, vec2 y);
[all …]
D100.frag6 vec2 radians(vec2 degrees);
11 vec2 degrees(vec2 radians);
16 vec2 sin(vec2 angle);
21 vec2 cos(vec2 angle);
26 vec2 tan(vec2 angle);
31 vec2 asin(vec2 angle);
36 vec2 acos(vec2 angle);
41 vec2 atan(vec2 y, vec2 x);
46 vec2 atan(vec2 y_over_x);
54 vec2 pow(vec2 x, vec2 y);
[all …]
D110.frag6 vec2 radians(vec2 degrees);
11 vec2 degrees(vec2 radians);
16 vec2 sin(vec2 angle);
21 vec2 cos(vec2 angle);
26 vec2 tan(vec2 angle);
31 vec2 asin(vec2 angle);
36 vec2 acos(vec2 angle);
41 vec2 atan(vec2 y, vec2 x);
46 vec2 atan(vec2 y_over_x);
54 vec2 pow(vec2 x, vec2 y);
[all …]
D120.frag6 vec2 radians(vec2 degrees);
11 vec2 degrees(vec2 radians);
16 vec2 sin(vec2 angle);
21 vec2 cos(vec2 angle);
26 vec2 tan(vec2 angle);
31 vec2 asin(vec2 angle);
36 vec2 acos(vec2 angle);
41 vec2 atan(vec2 y, vec2 x);
46 vec2 atan(vec2 y_over_x);
54 vec2 pow(vec2 x, vec2 y);
[all …]
D110.vert6 vec2 radians(vec2 degrees);
11 vec2 degrees(vec2 radians);
16 vec2 sin(vec2 angle);
21 vec2 cos(vec2 angle);
26 vec2 tan(vec2 angle);
31 vec2 asin(vec2 angle);
36 vec2 acos(vec2 angle);
41 vec2 atan(vec2 y, vec2 x);
46 vec2 atan(vec2 y_over_x);
54 vec2 pow(vec2 x, vec2 y);
[all …]
D120.vert6 vec2 radians(vec2 degrees);
11 vec2 degrees(vec2 radians);
16 vec2 sin(vec2 angle);
21 vec2 cos(vec2 angle);
26 vec2 tan(vec2 angle);
31 vec2 asin(vec2 angle);
36 vec2 acos(vec2 angle);
41 vec2 atan(vec2 y, vec2 x);
46 vec2 atan(vec2 y_over_x);
54 vec2 pow(vec2 x, vec2 y);
[all …]
D130.frag6 vec2 radians(vec2 degrees);
11 vec2 degrees(vec2 radians);
16 vec2 sin(vec2 angle);
21 vec2 cos(vec2 angle);
26 vec2 tan(vec2 angle);
31 vec2 asin(vec2 angle);
36 vec2 acos(vec2 angle);
41 vec2 atan(vec2 y, vec2 x);
46 vec2 atan(vec2 y_over_x);
51 vec2 sinh(vec2 x);
[all …]
D130.vert6 vec2 radians(vec2 degrees);
11 vec2 degrees(vec2 radians);
16 vec2 sin(vec2 angle);
21 vec2 cos(vec2 angle);
26 vec2 tan(vec2 angle);
31 vec2 asin(vec2 angle);
36 vec2 acos(vec2 angle);
41 vec2 atan(vec2 y, vec2 x);
46 vec2 atan(vec2 y_over_x);
51 vec2 sinh(vec2 x);
[all …]
/external/quake/quake/src/QW/client/
Dcl_cam.c136 pmtrace_t Cam_DoTrace(vec3_t vec1, vec3_t vec2) in Cam_DoTrace() argument
147 return PM_PlayerMove(pmove.origin, vec2); in Cam_DoTrace()
204 vec3_t vec, vec2; in InitFlyby() local
214 VectorAdd(forward, up, vec2); in InitFlyby()
215 VectorAdd(vec2, right, vec2); in InitFlyby()
216 if ((f = Cam_TryFlyby(self, player, vec2, checkvis)) < max) { in InitFlyby()
218 VectorCopy(vec2, vec); in InitFlyby()
220 VectorAdd(forward, up, vec2); in InitFlyby()
221 VectorSubtract(vec2, right, vec2); in InitFlyby()
222 if ((f = Cam_TryFlyby(self, player, vec2, checkvis)) < max) { in InitFlyby()
[all …]
/external/mesa3d/src/glsl/builtins/ir/
Dsmoothstep15 (signature vec2
19 (declare (in) vec2 x))
20 ((declare () vec2 t)
22 (expression vec2 max
23 (expression vec2 min
24 …(expression vec2 / (expression vec2 - (var_ref x) (var_ref edge0)) (expression float - (var_ref ed…
27 …(return (expression vec2 * (var_ref t) (expression vec2 * (var_ref t) (expression vec2 - (constant…
58 (signature vec2
60 (declare (in) vec2 edge0)
61 (declare (in) vec2 edge1)
[all …]
Dasin26 (signature vec2
28 (declare (in) vec2 x))
29 ((return (expression vec2 *
30 (expression vec2 sign (var_ref x))
31 (expression vec2 -
35 (expression vec2 *
36 (expression vec2 sqrt
37 (expression vec2 -
39 (expression vec2 abs (var_ref x))))
40 (expression vec2 +
[all …]
Datanh11 (signature vec2
13 (declare (in) vec2 x))
14 ((return (expression vec2 * (constant vec2 (0.5))
15 (expression vec2 log
16 (expression vec2 /
17 (expression vec2 + (constant vec2 (1)) (var_ref x))
18 (expression vec2 - (constant vec2 (1)) (var_ref x))))))))
Dtanh12 (signature vec2
14 (declare (in) vec2 x))
15 ((return (expression vec2 /
16 (expression vec2 -
17 (expression vec2 exp (var_ref x))
18 (expression vec2 exp (expression vec2 neg (var_ref x))))
19 (expression vec2 +
20 (expression vec2 exp (var_ref x))
21 (expression vec2 exp (expression vec2 neg (var_ref x))))))))
Dmix9 (signature vec2
11 (declare (in) vec2 arg0)
12 (declare (in) vec2 arg1)
13 (declare (in) vec2 arg2))
14 …urn (expression vec2 + (expression vec2 * (var_ref arg0) (expression vec2 - (constant float (1.000…
30 (signature vec2
32 (declare (in) vec2 arg0)
33 (declare (in) vec2 arg1)
35 …rn (expression vec2 + (expression vec2 * (var_ref arg0) (expression float - (constant float (1.000…
59 (signature vec2
[all …]
Dcosh9 (signature vec2
11 (declare (in) vec2 x))
12 ((return (expression vec2 * (constant vec2 (0.5))
13 (expression vec2 +
14 (expression vec2 exp (var_ref x))
15 (expression vec2 exp (expression vec2 neg (var_ref x))))))))
Dsinh9 (signature vec2
11 (declare (in) vec2 x))
12 ((return (expression vec2 * (constant vec2 (0.5))
13 (expression vec2 -
14 (expression vec2 exp (var_ref x))
15 (expression vec2 exp (expression vec2 neg (var_ref x))))))))
Dnoise22 (signature vec2
7 (declare () vec2 t)
16 (signature vec2
21 (declare () vec2 t)
30 (signature vec2
32 (declare (in ) vec2 p)
37 (declare () vec2 t)
40 …ol (1)) (x) (var_ref b) (expression float noise (expression vec2 + (var_ref p) (constant vec2 (601…
46 (signature vec2
53 (declare () vec2 t)
Dacosh7 (signature vec2
9 (declare (in) vec2 x))
10 …ession vec2 log (expression vec2 + (var_ref x) (expression vec2 sqrt (expression vec2 - (expressio…
Dasinh7 (signature vec2
9 (declare (in) vec2 x))
10 …ession vec2 log (expression vec2 + (var_ref x) (expression vec2 sqrt (expression vec2 + (expressio…
Dfwidth9 (signature vec2
11 (declare (in) vec2 p))
12 ((return (expression vec2 +
13 (expression vec2 abs (expression vec2 dFdx (var_ref p)))
14 (expression vec2 abs (expression vec2 dFdy (var_ref p)))))))
Dmod8 (signature vec2
10 (declare (in) vec2 arg0)
11 (declare (in) vec2 arg1))
12 ((return (expression vec2 % (var_ref arg0) (var_ref arg1)))))
26 (signature vec2
28 (declare (in) vec2 arg0)
30 ((return (expression vec2 % (var_ref arg0) (var_ref arg1)))))
DouterProduct4 (declare (in) vec2 u)
5 (declare (in) vec2 v))
7 …(assign (constant bool (1)) (xy) (array_ref (var_ref m) (constant int (0))) (expression vec2 * (va…
8 …(assign (constant bool (1)) (xy) (array_ref (var_ref m) (constant int (1))) (expression vec2 * (va…
14 (declare (in) vec2 v))
23 (declare (in) vec2 v))
31 (declare (in) vec2 u)
34 …(assign (constant bool (1)) (xy) (array_ref (var_ref m) (constant int (0))) (expression vec2 * (va…
35 …(assign (constant bool (1)) (xy) (array_ref (var_ref m) (constant int (1))) (expression vec2 * (va…
36 …(assign (constant bool (1)) (xy) (array_ref (var_ref m) (constant int (2))) (expression vec2 * (va…
[all …]
/external/astl/tests/
Dtest_vector.cpp51 vector<int> vec2(100); in testConstructorInt() local
52 EXPECT_TRUE(!vec2.empty()); in testConstructorInt()
53 EXPECT_TRUE(vec2.size() == 100); in testConstructorInt()
54 EXPECT_TRUE(vec2.capacity() == 100); in testConstructorInt()
57 EXPECT_TRUE(vec2[i] == 0); in testConstructorInt()
114 const vector<float> vec2(100, 10.0f); in testConstructorRepeat() local
118 EXPECT_TRUE(vec2[i] == 10.0f); in testConstructorRepeat()
193 vector<int> vec2; in testReserve() local
195 EXPECT_TRUE(vec2.capacity() == 0); in testReserve()
196 EXPECT_TRUE(vec2.reserve()); in testReserve()
[all …]
/external/clang/test/Sema/
Dext_vector_components.c11 float2 vec2, vec2_2; in test() local
17 vec2.z; // expected-error {{vector component access exceeds type 'float2'}} in test()
18 vec2.xyzw; // expected-error {{vector component access exceeds type 'float2'}} in test()
22 vec2 = vec4.s01; // legal, shorten in test()
23 vec2 = vec4.S01; // legal, shorten in test()
26 f = vec2.x; // legal, shorten in test()
32 vec2.x = f; in test()
33vec2.xx = vec2_2.xy; // expected-error {{vector is not assignable (contains duplicate components)}} in test()
34 vec2.yx = vec2_2.xy; in test()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DShaderChromium.cpp55 attribute vec2 a_texCoord; in getShaderString()
57 varying vec2 v_texCoord; in getShaderString()
86 attribute vec2 a_texCoord; in getShaderString()
88 varying vec2 y_texCoord; in getShaderString()
89 varying vec2 uv_texCoord; in getShaderString()
95 y_texCoord = vec2(y_widthScaleFactor * a_texCoord.x, a_texCoord.y); in getShaderString()
96 uv_texCoord = vec2(uv_widthScaleFactor * a_texCoord.x, a_texCoord.y); in getShaderString()
141 attribute vec2 a_texCoord; in getShaderString()
144 varying vec2 v_texCoord; in getShaderString()
171 varying vec2 v_texCoord; in getShaderString()
[all …]

1234