Home
last modified time | relevance | path

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

12345678910>>...26

/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 …]
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 …]
/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/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/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/deqp-deps/glslang/Test/
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 …]
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…
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 …]
Dspv.computeShaderDerivatives.comp22 vec2 v2DerivativeX;
23 vec2 v2DerivativeY;
24 vec2 v2DerivativeWidth;
25 vec2 v2CoarseDerivativeX;
26 vec2 v2CoarseDerivativeY;
27 vec2 v2CoarseDerivativeWidth;
28 vec2 v2FineDerivativeX;
29 vec2 v2FineDerivativeY;
30 vec2 v2FineDerivativeWidth;
32 vec2 v2X;
[all …]
Dspv.computeShaderDerivatives2.comp22 vec2 v2DerivativeX;
23 vec2 v2DerivativeY;
24 vec2 v2DerivativeWidth;
25 vec2 v2CoarseDerivativeX;
26 vec2 v2CoarseDerivativeY;
27 vec2 v2CoarseDerivativeWidth;
28 vec2 v2FineDerivativeX;
29 vec2 v2FineDerivativeY;
30 vec2 v2FineDerivativeWidth;
32 vec2 v2X;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/avx512-shuffles/
Dshuffle-interleave.ll4 define <4 x float> @test_4xfloat_shuff_mask0(<4 x float> %vec1, <4 x float> %vec2) {
9 %res = shufflevector <4 x float> %vec1, <4 x float> %vec2, <4 x i32> <i32 2, i32 1, i32 7, i32 5>
12 define <4 x float> @test_4xfloat_masked_shuff_mask0(<4 x float> %vec1, <4 x float> %vec2, <4 x floa…
20 %shuf = shufflevector <4 x float> %vec1, <4 x float> %vec2, <4 x i32> <i32 2, i32 1, i32 7, i32 5>
26 define <4 x float> @test_4xfloat_zero_masked_shuff_mask0(<4 x float> %vec1, <4 x float> %vec2, <4 x…
33 %shuf = shufflevector <4 x float> %vec1, <4 x float> %vec2, <4 x i32> <i32 2, i32 1, i32 7, i32 5>
38 define <4 x float> @test_4xfloat_masked_shuff_mask1(<4 x float> %vec1, <4 x float> %vec2, <4 x floa…
46 %shuf = shufflevector <4 x float> %vec1, <4 x float> %vec2, <4 x i32> <i32 1, i32 2, i32 7, i32 6>
52 define <4 x float> @test_4xfloat_zero_masked_shuff_mask1(<4 x float> %vec1, <4 x float> %vec2, <4 x…
59 %shuf = shufflevector <4 x float> %vec1, <4 x float> %vec2, <4 x i32> <i32 1, i32 2, i32 7, i32 6>
[all …]
Dshuffle-vec.ll6 define <8 x float> @test_8xfloat_shuff_mask0(<8 x float> %vec1, <8 x float> %vec2) {
11 …%res = shufflevector <8 x float> %vec1, <8 x float> %vec2, <8 x i32> <i32 4, i32 5, i32 6, i32 7, …
14 define <8 x float> @test_8xfloat_masked_shuff_mask0(<8 x float> %vec1, <8 x float> %vec2, <8 x floa…
22 …%shuf = shufflevector <8 x float> %vec1, <8 x float> %vec2, <8 x i32> <i32 4, i32 5, i32 6, i32 7,…
28 define <8 x float> @test_8xfloat_zero_masked_shuff_mask0(<8 x float> %vec1, <8 x float> %vec2, <8 x…
35 …%shuf = shufflevector <8 x float> %vec1, <8 x float> %vec2, <8 x i32> <i32 4, i32 5, i32 6, i32 7,…
40 define <8 x float> @test_8xfloat_masked_shuff_mask1(<8 x float> %vec1, <8 x float> %vec2, <8 x floa…
48 …%shuf = shufflevector <8 x float> %vec1, <8 x float> %vec2, <8 x i32> <i32 4, i32 5, i32 6, i32 7,…
54 define <8 x float> @test_8xfloat_zero_masked_shuff_mask1(<8 x float> %vec1, <8 x float> %vec2, <8 x…
61 …%shuf = shufflevector <8 x float> %vec1, <8 x float> %vec2, <8 x i32> <i32 4, i32 5, i32 6, i32 7,…
[all …]
Dunpack.ll4 define <4 x float> @test_4xfloat_unpack_low_mask0(<4 x float> %vec1, <4 x float> %vec2) {
9 %res = shufflevector <4 x float> %vec1, <4 x float> %vec2, <4 x i32> <i32 0, i32 4, i32 1, i32 5>
12 define <4 x float> @test_4xfloat_masked_unpack_low_mask0(<4 x float> %vec1, <4 x float> %vec2, <4 x…
20 %shuf = shufflevector <4 x float> %vec1, <4 x float> %vec2, <4 x i32> <i32 0, i32 4, i32 1, i32 5>
26 define <4 x float> @test_4xfloat_zero_masked_unpack_low_mask0(<4 x float> %vec1, <4 x float> %vec2,…
33 %shuf = shufflevector <4 x float> %vec1, <4 x float> %vec2, <4 x i32> <i32 0, i32 4, i32 1, i32 5>
38 define <4 x float> @test_4xfloat_masked_unpack_low_mask1(<4 x float> %vec1, <4 x float> %vec2, <4 x…
46 %shuf = shufflevector <4 x float> %vec1, <4 x float> %vec2, <4 x i32> <i32 0, i32 4, i32 1, i32 5>
52 define <4 x float> @test_4xfloat_zero_masked_unpack_low_mask1(<4 x float> %vec1, <4 x float> %vec2,…
59 %shuf = shufflevector <4 x float> %vec1, <4 x float> %vec2, <4 x i32> <i32 0, i32 4, i32 1, i32 5>
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/util/
Dsmall_vector_test.cpp61 SmallVector<uint32_t, 6> vec2(vec1); in TEST() local
63 EXPECT_EQ(vec2.size(), 4); in TEST()
66 for (uint32_t i = 0; i < vec2.size(); ++i) { in TEST()
67 EXPECT_EQ(vec2[i], result[i]); in TEST()
70 EXPECT_EQ(vec1, vec2); in TEST()
75 SmallVector<uint32_t, 2> vec2(vec1); in TEST() local
77 EXPECT_EQ(vec2.size(), 4); in TEST()
80 for (uint32_t i = 0; i < vec2.size(); ++i) { in TEST()
81 EXPECT_EQ(vec2[i], result[i]); in TEST()
84 EXPECT_EQ(vec1, vec2); in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/util/
Dsmall_vector_test.cpp61 SmallVector<uint32_t, 6> vec2(vec1); in TEST() local
63 EXPECT_EQ(vec2.size(), 4); in TEST()
66 for (uint32_t i = 0; i < vec2.size(); ++i) { in TEST()
67 EXPECT_EQ(vec2[i], result[i]); in TEST()
70 EXPECT_EQ(vec1, vec2); in TEST()
75 SmallVector<uint32_t, 2> vec2(vec1); in TEST() local
77 EXPECT_EQ(vec2.size(), 4); in TEST()
80 for (uint32_t i = 0; i < vec2.size(); ++i) { in TEST()
81 EXPECT_EQ(vec2[i], result[i]); in TEST()
84 EXPECT_EQ(vec1, vec2); in TEST()
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dvpx_convolve8_avg_horiz_msa.c57 v8i16 filt, vec0, vec1, vec2, vec3; in common_hz_8t_and_aver_dst_4x8_msa() local
82 filt0, filt1, filt2, filt3, vec2, vec3); in common_hz_8t_and_aver_dst_4x8_msa()
83 SRARI_H4_SH(vec0, vec1, vec2, vec3, FILTER_BITS); in common_hz_8t_and_aver_dst_4x8_msa()
84 SAT_SH4_SH(vec0, vec1, vec2, vec3, 7); in common_hz_8t_and_aver_dst_4x8_msa()
85 PCKEV_B4_UB(vec0, vec0, vec1, vec1, vec2, vec2, vec3, vec3, res0, res1, res2, in common_hz_8t_and_aver_dst_4x8_msa()
151 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; in common_hz_8t_and_aver_dst_16w_msa() local
173 VSHF_B4_SH(src2, src2, mask0, mask1, mask2, mask3, vec2, vec6, vec10, in common_hz_8t_and_aver_dst_16w_msa()
177 DOTP_SB4_SH(vec0, vec1, vec2, vec3, filt0, filt0, filt0, filt0, vec0, vec1, in common_hz_8t_and_aver_dst_16w_msa()
178 vec2, vec3); in common_hz_8t_and_aver_dst_16w_msa()
182 vec2, vec3); in common_hz_8t_and_aver_dst_16w_msa()
[all …]
/external/eigen/unsupported/test/
Dcxx11_tensor_fixed_size.cpp50 TensorFixedSize<float, Sizes<6>, RowMajor> vec2; in test_1d() local
56 vec1(0) = 4.0; vec2(0) = 0.0; in test_1d()
57 vec1(1) = 8.0; vec2(1) = 1.0; in test_1d()
58 vec1(2) = 15.0; vec2(2) = 2.0; in test_1d()
59 vec1(3) = 16.0; vec2(3) = 3.0; in test_1d()
60 vec1(4) = 23.0; vec2(4) = 4.0; in test_1d()
61 vec1(5) = 42.0; vec2(5) = 5.0; in test_1d()
76 TensorFixedSize<float, Sizes<6>, RowMajor> vec4 = vec2.sqrt(); in test_1d()
97 vec3 = vec1 + vec2; in test_1d()
109 TensorFixedSize<float, Sizes<6>, RowMajor> vec2; in test_tensor_map() local
[all …]
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()
/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>>...26