Home
last modified time | relevance | path

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

12345678910>>...12

/external/mesa3d/src/glsl/builtins/profiles/
D100.glsl6 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.glsl6 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.glsl6 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 …]
D140.glsl6 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.glsl6 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 …]
DARB_shader_texture_lod.glsl5 vec2 P, float dPdx, float dPdy);
10 vec2 P, vec2 dPdx, vec2 dPdy);
12 vec3 P, vec2 dPdx, vec2 dPdy);
14 vec4 P, vec2 dPdx, vec2 dPdy);
30 vec3 P, vec2 dPdx, vec2 dPdy);
32 vec4 P, vec2 dPdx, vec2 dPdy);
36 vec2 P, vec2 dPdx, vec2 dPdy);
38 vec3 P, vec2 dPdx, vec2 dPdy);
40 vec4 P, vec2 dPdx, vec2 dPdy);
43 vec3 P, vec2 dPdx, vec2 dPdy);
[all …]
D140.frag7 vec4 texture( sampler2D sampler, vec2 P, float bias);
8 ivec4 texture(isampler2D sampler, vec2 P, float bias);
9 uvec4 texture(usampler2D sampler, vec2 P, float bias);
23 vec4 texture( sampler1DArray sampler, vec2 P, float bias);
24 ivec4 texture(isampler1DArray sampler, vec2 P, float bias);
25 uvec4 texture(usampler1DArray sampler, vec2 P, float bias);
34 vec4 textureProj( sampler1D sampler, vec2 P, float bias);
35 ivec4 textureProj(isampler1D sampler, vec2 P, float bias);
36 uvec4 textureProj(usampler1D sampler, vec2 P, float bias);
60 vec4 textureOffset( sampler2D sampler, vec2 P, ivec2 offset, float bias);
[all …]
D130.frag8 vec4 texture( sampler2D sampler, vec2 P, float bias);
9 ivec4 texture(isampler2D sampler, vec2 P, float bias);
10 uvec4 texture(usampler2D sampler, vec2 P, float bias);
24 vec4 texture( sampler1DArray sampler, vec2 P, float bias);
25 ivec4 texture(isampler1DArray sampler, vec2 P, float bias);
26 uvec4 texture(usampler1DArray sampler, vec2 P, float bias);
35 vec4 textureProj( sampler1D sampler, vec2 P, float bias);
36 ivec4 textureProj(isampler1D sampler, vec2 P, float bias);
37 uvec4 textureProj(usampler1D sampler, vec2 P, float bias);
61 vec4 textureOffset( sampler2D sampler, vec2 P, ivec2 offset, float bias);
[all …]
DOES_standard_derivatives.frag8 vec2 dFdx(vec2 p);
13 vec2 dFdy(vec2 p);
18 vec2 fwidth(vec2 p);
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/
Dvec2.js27 var vec2 = {}; variable
34 vec2.create = function() {
47 vec2.clone = function(a) {
61 vec2.fromValues = function(x, y) {
75 vec2.copy = function(out, a) {
89 vec2.set = function(out, x, y) { function
103 vec2.add = function(out, a, b) {
117 vec2.subtract = function(out, a, b) {
127 vec2.sub = vec2.subtract;
137 vec2.multiply = function(out, a, b) {
[all …]
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/
Dvec2-spec.js22 var vec2 = require("../../src/gl-matrix/vec2.js");
29 beforeEach(function() { result = vec2.create(); });
34 beforeEach(function() { result = vec2.clone(vecA); });
39 beforeEach(function() { result = vec2.fromValues(1, 2); });
44 beforeEach(function() { result = vec2.copy(out, vecA); });
50 beforeEach(function() { result = vec2.set(out, 1, 2); });
57 beforeEach(function() { result = vec2.add(out, vecA, vecB); });
66 beforeEach(function() { result = vec2.add(vecA, vecA, vecB); });
74 beforeEach(function() { result = vec2.add(vecB, vecA, vecB); });
83 … it("should have an alias called 'sub'", function() { expect(vec2.sub).toEqual(vec2.subtract); });
[all …]
/external/mesa3d/src/glsl/builtins/ir/
Dsmoothstep.ir15 (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 …]
Dasin.ir29 (signature vec2
31 (declare (in) vec2 x))
32 ((return (expression vec2 *
33 (expression vec2 sign (var_ref x))
34 (expression vec2 -
36 (expression vec2 *
37 (expression vec2 sqrt
38 (expression vec2 -
40 (expression vec2 abs (var_ref x))))
41 (expression vec2 +
[all …]
Dtanh.ir12 (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))))))))
Dmix.ir9 (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 …]
Dasinh.ir15 (signature vec2
17 (declare (in) vec2 x))
18 ((return (expression vec2 *
19 (expression vec2 sign (var_ref x))
20 (expression vec2 log
21 (expression vec2 +
22 (expression vec2 abs (var_ref x))
23 (expression vec2 sqrt
24 (expression vec2 +
25 (expression vec2 * (var_ref x) (var_ref x))
Dnoise2.ir2 (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 …(assign (x) (var_ref b) (expression float noise (expression vec2 + (var_ref p) (constant vec2 (601…
46 (signature vec2
53 (declare () vec2 t)
/external/deqp/external/vulkancts/data/vulkan/draw/
DVertexFetchInstanced.vert9 vec2 perVertex = vec2(in_position.x, in_position.y);
10vec2 perInstance[6] = vec2[6](vec2(0.0, 0.0), vec2(0.3, 0.0), vec2(0.0, -0.3),vec2(0.3, -0.3), vec…
DVertexFetchInstancedFirstInstance.vert9 vec2 perVertex = vec2(in_position.x, in_position.y);
10vec2 perInstance[6] = vec2[6](vec2(0.7, -0.7), vec2(-0.75, 0.8), vec2(0.0, 0.0), vec2(0.3, 0.0), v…
/external/deqp/data/gles2/shaders/
Dconversions.test212vec2 out0 = [ vec2(0.0, 0.0) | vec2(1.0, 1.0) | vec2(2.0, 2.0) | vec2(3.5, 3.5) | vec2(-0.5, -0.5…
224 out0 = vec2(in0);
410vec2 out0 = [ vec2(0.0, 0.0) | vec2(1.0, 1.0) | vec2(2.0, 2.0) | vec2(5.0, 5.0) | vec2(8.0, 8.0) |…
422 out0 = vec2(in0);
608 output vec2 out0 = [ vec2(1.0, 1.0) | vec2(0.0, 0.0) ];
620 out0 = vec2(in0);
809 …input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
831 …input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
853 …input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
1417 vec2 in0 = vec2(0.0, 0.5);
[all …]
/external/deqp/data/gles31/shaders/
Dimplicit_conversions.test60 …output vec2 out0 = [ vec2(3.0, 4.0) | vec2(2.0, 3.0) | vec2(2.0, 3.0) | vec2(4.0, 5.0) | vec2(6.0,…
71 out0 = in0 + vec2(1.0, 2.0);
214 …output vec2 out0 = [ vec2(2.0, 3.0) | vec2(4.0, 5.0) | vec2(5.0, 6.0) | vec2(8.0, 9.0) | vec2(12.0…
225 out0 = in0 + vec2(1.0, 2.0);
302 output vec2 out0 = [ vec2(2.0, 4.0) | vec2(3.0, 3.0) | vec2(4.0, 9.0) ];
313 out0 = in0 + vec2(1.0, 2.0);
324 output vec2 out0 = [ vec2(3.0, 5.0) | vec2(5.0, 8.0) | vec2(2.0, 15.0) ];
335 out0 = in0 + vec2(1.0, 2.0);
504 …output vec2 out0 = [ vec2(1.0, 0.0) | vec2(0.0, -1.0) | vec2(0.0, -1.0) | vec2(2.0, 1.0) | vec2(4.…
515 out0 = in0 - vec2(1.0, 2.0);
[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/libvpx/libvpx/vpx_dsp/mips/
Dvpx_convolve8_avg_horiz_msa.c58 v8i16 filt, vec0, vec1, vec2, vec3; in common_hz_8t_and_aver_dst_4x8_msa() local
80 filt0, filt1, filt2, filt3, vec2, vec3); in common_hz_8t_and_aver_dst_4x8_msa()
81 SRARI_H4_SH(vec0, vec1, vec2, vec3, FILTER_BITS); in common_hz_8t_and_aver_dst_4x8_msa()
82 SAT_SH4_SH(vec0, vec1, vec2, vec3, 7); in common_hz_8t_and_aver_dst_4x8_msa()
83 PCKEV_B4_UB(vec0, vec0, vec1, vec1, vec2, vec2, vec3, vec3, res0, res1, res2, in common_hz_8t_and_aver_dst_4x8_msa()
155 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in common_hz_8t_and_aver_dst_16w_msa() local
177 VSHF_B4_SH(src2, src2, mask0, mask1, mask2, mask3, vec2, vec6, vec10, in common_hz_8t_and_aver_dst_16w_msa()
181 DOTP_SB4_SH(vec0, vec1, vec2, vec3, filt0, filt0, filt0, filt0, vec0, vec1, in common_hz_8t_and_aver_dst_16w_msa()
182 vec2, vec3); in common_hz_8t_and_aver_dst_16w_msa()
186 vec2, vec3); in common_hz_8t_and_aver_dst_16w_msa()
[all …]
/external/vulkan-validation-layers/libs/glm/detail/
Ddummy.cpp89 void func(GLuint LocationMVP, float Translate, glm::vec2 const & Rotate) in func()
107 std::size_t const PositionSizeF32 = VertexCount * sizeof(glm::vec2);
108 glm::vec2 const PositionDataF32[VertexCount] =
110 glm::vec2(-1.0f,-1.0f),
111 glm::vec2( 1.0f,-1.0f),
112 glm::vec2( 1.0f, 1.0f),
113 glm::vec2(-1.0f, 1.0f)
119 glm::uint(glm::packUnorm2x16(glm::vec2(-1.0f, -1.0f))),
120 glm::uint(glm::packUnorm2x16(glm::vec2( 1.0f, -1.0f))),
121 glm::uint(glm::packUnorm2x16(glm::vec2( 1.0f, 1.0f))),
[all …]
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/
Dconversions.test399vec2 out0 = [ vec2(0.0, 0.0) | vec2(1.0, 1.0) | vec2(2.0, 2.0) | vec2(3.5, 3.5) | vec2(-0.5, -0.5…
412 out0 = vec2(in0);
615vec2 out0 = [ vec2(0.0, 0.0) | vec2(1.0, 1.0) | vec2(2.0, 2.0) | vec2(5.0, 5.0) | vec2(8.0, 8.0) |…
628 out0 = vec2(in0);
831vec2 out0 = [ vec2(0.0, 0.0) | vec2(2.0, 2.0) | vec2(3.0, 3.0) | vec2(8.0, 8.0) | vec2(9.0, 9.0) |…
844 out0 = vec2(in0);
1047 output vec2 out0 = [ vec2(1.0, 1.0) | vec2(0.0, 0.0) ];
1060 out0 = vec2(in0);
1554 …input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
1578 …input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
[all …]

12345678910>>...12