Home
last modified time | relevance | path

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

12345678910>>...55

/external/skia/tests/sksl/shared/
DVectorConstructors.glsl5 …2f2f2b2b2b3(vec2 v1, vec2 v2, vec2 v3, vec3 v4, ivec2 v5, ivec2 v6, vec2 v7, vec2 v8, vec4 v9, ive…
9 vec2 v1 = vec2(1.0);
10 vec2 v2 = vec2(1.0, 2.0);
11 vec2 v3 = vec2(1.0);
12 vec3 v4 = vec3(vec2(1.0), 1.0);
15 vec2 v7 = vec2(1.0, 2.0);
16 vec2 v8 = vec2(v5);
20 vec2 v12 = vec2(1.0, 0.0);
21 vec2 v13 = vec2(0.0);
22 vec2 v14 = vec2(0.0);
DArrayTypes.glsl4 vec2 v;
7 z[0].v = vec2(0.0, 1.0);
8 z[1].v = vec2(2.0, 1.0);
11 vec2 x[2];
12 x[0] = vec2(0.0, 0.0);
13 x[1] = vec2(1.0, 0.0);
14 vec2 y[2];
15 y[0] = vec2(0.0, 1.0);
16 y[1] = vec2(-1.0, 2.0);
/external/deqp/external/vulkancts/data/vulkan/draw/
DVertexFetchShaderDrawParametersDrawIndex.vert15 vec2 perVertex = vec2(in_position.x, in_position.y);
16vec2 perInstance[5] = vec2[5](vec2(0.0, 0.0), vec2(-0.3, 0.0), vec2(0.0, 0.3), vec2(0.5, 0.5), vec…
17 vec2 perDraw[4] = vec2[4](vec2(0.0, 0.0), vec2(-0.3, -0.3), vec2(0.3, 0.3), vec2(1.0, 0.5));
DVertexFetchInstanced.vert14 vec2 perVertex = vec2(in_position.x, in_position.y);
15vec2 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.vert14 vec2 perVertex = vec2(in_position.x, in_position.y);
15vec2 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…
DVertexFetchShaderDrawParameters.vert15 vec2 perVertex = vec2(in_position.x, in_position.y);
16vec2 perInstance[5] = vec2[5](vec2(0.0, 0.0), vec2(-0.3, 0.0), vec2(0.0, 0.3), vec2(0.5, 0.5),
/external/deqp/data/gles3/shaders/
Dswizzle_math_operations.test10 …input vec2 in0 = [ vec2(0.1, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
11 …input vec2 in1 = [ vec2(0.1, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
34 …input vec2 in0 = [ vec2(0.1, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
35 …input vec2 in1 = [ vec2(0.1, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
36 …output vec2 out0 = [ vec2(0.2, 0.2) | vec2(2.0, 2.0) | vec2(-1.0, -1.0) | vec2(-64.0, -64.0) | vec…
58 …input vec2 in0 = [ vec2(0.1, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
59 …input vec2 in1 = [ vec2(0.1, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
60 …output vec2 out0 = [ vec2(0.6, 0.6) | vec2(2.25, 2.25) | vec2(-2.75, -2.75) | vec2(32.0, 32.0) | v…
82 …input vec2 in0 = [ vec2(0.1, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
83 …input vec2 in1 = [ vec2(0.1, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2
[all …]
/external/llvm-project/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()
43 vec2.a; // expected-error {{vector component access exceeds type 'float2'}} in test()
[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()
43 vec2.a; // expected-error {{vector component access exceeds type 'float2'}} in test()
[all …]
/external/deqp-deps/glslang/Test/
Dweb.builtins.frag5 layout(location = 5) in vec2 c2D;
48 p += distance(vec2(10.0, 11.0), vec2(13.0, 15.0)); // 5
53 vec2 c2 = reflect(vec2(1,3), vec2(0,1)); // (1,-3)
54 c2 += refract(vec2(1,3), vec2(0,1), 1.0); // (1,-3)
55 c2 += refract(vec2(1,3), vec2(0,1), 3.0);
56 c2 += refract(vec2(1,0.1), vec2(0,1), 5.0); // (0,0)
57 mat3x2 m32 = outerProduct(vec2(2,3), vec3(5,7,11));// rows: (10, 14, 22), (15, 21, 33)
Dspv.deepRvalue.frag12 vec2 b[3];
26 …float h = str(1, vec2[3](vec2(2.0, 3.0), vec2(4.0, 5.0), vec2(6.0, 7.0)), true).b[1][1]; // shoul…
28 float i = texture(samp2D, vec2(0.5,0.5)).y;
33 …i += (t = str(1, vec2[3](vec2(2.0, 3.0), vec2(4.0, 5.0), vec2(6.0, 7.0)), true)).b[2].y; // shoul…
DdeepRvalue.frag12 vec2 b[3];
26 …float h = str(1, vec2[3](vec2(2.0, 3.0), vec2(4.0, 5.0), vec2(6.0, 7.0)), true).b[1][1]; // shoul…
28 float i = texture2D(sampler, vec2(0.5,0.5)).y;
33 …i += (t = str(1, vec2[3](vec2(2.0, 3.0), vec2(4.0, 5.0), vec2(6.0, 7.0)), true)).b[2].y; // shoul…
D120.vert6 attribute vec2 attv2;
9 invariant varying vec2 centTexCoord;
63 vec2 overloadC(int, int);
64 vec2 overloadC(const in int, float);
65 vec2 overloadC(float, int);
66 vec2 overloadC(vec2, vec2);
73 vec3 overloadE(vec2 v);
89 overloadC(vec2(1), vec2(2));
91 overloadC(ivec2(1), vec2(2));
109 overloadE(vec2(3.3));
[all …]
D400.frag3 in vec2 c2D;
51 …textureProjGradOffset(u2drs, outp, vec2(0.0), vec2(0.0), ivec2(c2D)); // ERROR, offset not con…
52 textureProjGradOffset(u2drs, outp, vec2(0.0), vec2(0.0), offsets[1]);
53 …textureProjGradOffset(u2drs, outp, vec2(0.0), vec2(0.0), offsets[2]); // ERROR, offset out of …
54 …textureProjGradOffset(u2drs, outp, vec2(0.0), vec2(0.0), ivec2(-10, 20)); // ERROR, offset out of …
67 in vec2 in2;
73 vec2 v2 = dFdxFine(in2); // ERROR
82 vec2 v2 = dFdxFine(in2);
108 flat centroid in vec2 colorfc;
132 interpolateAtOffset(sampInArray, vec2(0.2)); // ERROR
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dweb.builtins.frag5 layout(location = 5) in vec2 c2D;
48 p += distance(vec2(10.0, 11.0), vec2(13.0, 15.0)); // 5
53 vec2 c2 = reflect(vec2(1,3), vec2(0,1)); // (1,-3)
54 c2 += refract(vec2(1,3), vec2(0,1), 1.0); // (1,-3)
55 c2 += refract(vec2(1,3), vec2(0,1), 3.0);
56 c2 += refract(vec2(1,0.1), vec2(0,1), 5.0); // (0,0)
57 mat3x2 m32 = outerProduct(vec2(2,3), vec3(5,7,11));// rows: (10, 14, 22), (15, 21, 33)
DdeepRvalue.frag12 vec2 b[3];
26 …float h = str(1, vec2[3](vec2(2.0, 3.0), vec2(4.0, 5.0), vec2(6.0, 7.0)), true).b[1][1]; // shoul…
28 float i = texture2D(sampler, vec2(0.5,0.5)).y;
33 …i += (t = str(1, vec2[3](vec2(2.0, 3.0), vec2(4.0, 5.0), vec2(6.0, 7.0)), true)).b[2].y; // shoul…
Dspv.deepRvalue.frag12 vec2 b[3];
26 …float h = str(1, vec2[3](vec2(2.0, 3.0), vec2(4.0, 5.0), vec2(6.0, 7.0)), true).b[1][1]; // shoul…
28 float i = texture(samp2D, vec2(0.5,0.5)).y;
33 …i += (t = str(1, vec2[3](vec2(2.0, 3.0), vec2(4.0, 5.0), vec2(6.0, 7.0)), true)).b[2].y; // shoul…
D120.vert6 attribute vec2 attv2;
9 invariant varying vec2 centTexCoord;
63 vec2 overloadC(int, int);
64 vec2 overloadC(const in int, float);
65 vec2 overloadC(float, int);
66 vec2 overloadC(vec2, vec2);
73 vec3 overloadE(vec2 v);
89 overloadC(vec2(1), vec2(2));
91 overloadC(ivec2(1), vec2(2));
109 overloadE(vec2(3.3));
[all …]
D400.frag3 in vec2 c2D;
51 …textureProjGradOffset(u2drs, outp, vec2(0.0), vec2(0.0), ivec2(c2D)); // ERROR, offset not con…
52 textureProjGradOffset(u2drs, outp, vec2(0.0), vec2(0.0), offsets[1]);
53 …textureProjGradOffset(u2drs, outp, vec2(0.0), vec2(0.0), offsets[2]); // ERROR, offset out of …
54 …textureProjGradOffset(u2drs, outp, vec2(0.0), vec2(0.0), ivec2(-10, 20)); // ERROR, offset out of …
67 in vec2 in2;
73 vec2 v2 = dFdxFine(in2); // ERROR
82 vec2 v2 = dFdxFine(in2);
108 flat centroid in vec2 colorfc;
132 interpolateAtOffset(sampInArray, vec2(0.2)); // ERROR
[all …]
/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/es32/
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/deqp/data/gles31/shaders/es31/
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/angle/src/compiler/translator/
Dbuiltin_function_declarations.txt229 uint packSnorm2x16(vec2);
230 uint packHalf2x16(vec2);
231 vec2 unpackSnorm2x16(uint);
232 vec2 unpackHalf2x16(uint);
234 uint packUnorm2x16(vec2);
235 vec2 unpackUnorm2x16(uint);
299 mat2 outerProduct(vec2, vec2);
302 mat2x3 outerProduct(vec3, vec2);
303 mat3x2 outerProduct(vec2, vec3);
304 mat2x4 outerProduct(vec4, vec2);
[all …]
/external/skia/tests/sksl/intrinsics/
DCrossNoInline.glsl3 uniform vec2 ah;
4 uniform vec2 bh;
5 uniform vec2 af;
6 uniform vec2 bf;
7 float cross_hh2h2(vec2 a, vec2 b) {
10 float cross_ff2f2(vec2 a, vec2 b) {
/external/eigen/unsupported/test/
Dcxx11_tensor_mixed_indices.cpp18 Tensor<float, 1, ColMajor, int> vec2(6); in test_simple() local
20 vec1(0) = 4.0; vec2(0) = 0.0; in test_simple()
21 vec1(1) = 8.0; vec2(1) = 1.0; in test_simple()
22 vec1(2) = 15.0; vec2(2) = 2.0; in test_simple()
23 vec1(3) = 16.0; vec2(3) = 3.0; in test_simple()
24 vec1(4) = 23.0; vec2(4) = 4.0; in test_simple()
25 vec1(5) = 42.0; vec2(5) = 5.0; in test_simple()
32 vec4 = vec2.square(); in test_simple()

12345678910>>...55