/external/deqp/data/gles31/shaders/es32/ |
D | arrays_of_arrays.test | 419 mat3[3][2] a = mat3[3][2] ( mat3[2] ( mat3( in0.x, in0.y, in0.z, 422 mat3( in0.z, in0.x, -in0.y, 426 mat3[2] ( mat3( -in0.z, -in0.z, in0.z, 429 mat3( in0.x, in0.y, in0.z, 433 mat3[2] ( mat3( in0.z, in0.x, -in0.y, 436 mat3( -in0.z, -in0.z, in0.z, 440 mat3 a0 = a[0][0]; 441 mat3 a1 = a[0][1]; 442 mat3 a2 = a[2][1]; 473 mat3 a = mat3( in0.x, in0.y, in0.z, [all …]
|
D | linkage_tessellation_varying_types.test | 445 case mat3 447 desc "varying of type mat3" 450 …put mat3 in0 = [ mat3(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 9.9) | mat3(0.0, 1.0… 451 …put mat3 out0 = [ mat3(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 9.9) | mat3(0.0, 1.0… 456 out mediump mat3 vtx_var; 466 in mediump mat3 vtx_var[]; 467 out mediump mat3 tc_out[]; 477 in mediump mat3 tc_out[]; 478 out mediump mat3 te_out; 489 in mat3 te_out;
|
/external/deqp/data/gles31/shaders/es31/ |
D | arrays_of_arrays.test | 400 mat3[3][2] a = mat3[3][2] ( mat3[2] ( mat3( in0.x, in0.y, in0.z, 403 mat3( in0.z, in0.x, -in0.y, 407 mat3[2] ( mat3( -in0.z, -in0.z, in0.z, 410 mat3( in0.x, in0.y, in0.z, 414 mat3[2] ( mat3( in0.z, in0.x, -in0.y, 417 mat3( -in0.z, -in0.z, in0.z, 421 mat3 a0 = a[0][0]; 422 mat3 a1 = a[0][1]; 423 mat3 a2 = a[2][1]; 454 mat3 a = mat3( in0.x, in0.y, in0.z, [all …]
|
D | linkage_tessellation_varying_types.test | 435 case mat3 437 desc "varying of type mat3" 441 …put mat3 in0 = [ mat3(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 9.9) | mat3(0.0, 1.0… 442 …put mat3 out0 = [ mat3(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 9.9) | mat3(0.0, 1.0… 447 out mediump mat3 vtx_var; 457 in mediump mat3 vtx_var[]; 458 out mediump mat3 tc_out[]; 468 in mediump mat3 tc_out[]; 469 out mediump mat3 te_out; 480 in mat3 te_out;
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_map.cpp | 88 TensorMap<Tensor<const int, 2> > mat3(mat1.data(), 2, 3); in test_2d() local 91 VERIFY_IS_EQUAL(mat3.rank(), 2); in test_2d() 92 VERIFY_IS_EQUAL(mat3.size(), 6); in test_2d() 93 VERIFY_IS_EQUAL(mat3.dimension(0), 2); in test_2d() 94 VERIFY_IS_EQUAL(mat3.dimension(1), 3); in test_2d() 101 VERIFY_IS_EQUAL(mat3(0,0), 0); in test_2d() 102 VERIFY_IS_EQUAL(mat3(0,1), 1); in test_2d() 103 VERIFY_IS_EQUAL(mat3(0,2), 2); in test_2d() 104 VERIFY_IS_EQUAL(mat3(1,0), 3); in test_2d() 105 VERIFY_IS_EQUAL(mat3(1,1), 4); in test_2d() [all …]
|
D | cxx11_tensor_contraction.cpp | 24 Tensor<float, 2, DataLayout> mat3(3, 2); in test_evals() local 28 mat3.setRandom(); in test_evals() 68 typedef TensorEvaluator<decltype(mat1.contract(mat3, dims6)), DefaultDevice> Evaluator3; in test_evals() 69 Evaluator3 eval3(mat1.contract(mat3, dims6), DefaultDevice()); in test_evals() 75 VERIFY_IS_APPROX(mat6(0,0), mat1(0,0)*mat3(0,0) + mat1(0,1)*mat3(1,0) + mat1(0,2)*mat3(2,0)); in test_evals() 76 VERIFY_IS_APPROX(mat6(0,1), mat1(0,0)*mat3(0,1) + mat1(0,1)*mat3(1,1) + mat1(0,2)*mat3(2,1)); in test_evals() 77 VERIFY_IS_APPROX(mat6(1,0), mat1(1,0)*mat3(0,0) + mat1(1,1)*mat3(1,0) + mat1(1,2)*mat3(2,0)); in test_evals() 78 VERIFY_IS_APPROX(mat6(1,1), mat1(1,0)*mat3(0,1) + mat1(1,1)*mat3(1,1) + mat1(1,2)*mat3(2,1)); in test_evals() 109 Tensor<float, 3, DataLayout> mat3(2, 2, 2); in test_multidims() local 110 mat3.setZero(); in test_multidims() [all …]
|
D | cxx11_tensor_forced_eval.cpp | 28 Tensor<float, 2> mat3(3,3); in test_simple() local 29 mat3 = mat1; in test_simple() 35 mat3 = mat3.contract(mat2, dims).eval(); in test_simple() 37 VERIFY_IS_APPROX(mat3(0, 0), (m1*m2).eval()(0,0)); in test_simple() 38 VERIFY_IS_APPROX(mat3(0, 1), (m1*m2).eval()(0,1)); in test_simple() 39 VERIFY_IS_APPROX(mat3(0, 2), (m1*m2).eval()(0,2)); in test_simple() 40 VERIFY_IS_APPROX(mat3(1, 0), (m1*m2).eval()(1,0)); in test_simple() 41 VERIFY_IS_APPROX(mat3(1, 1), (m1*m2).eval()(1,1)); in test_simple() 42 VERIFY_IS_APPROX(mat3(1, 2), (m1*m2).eval()(1,2)); in test_simple() 43 VERIFY_IS_APPROX(mat3(2, 0), (m1*m2).eval()(2,0)); in test_simple() [all …]
|
D | cxx11_tensor_expr.cpp | 90 Tensor<float, 2> mat3(2,3); in test_2d() local 92 mat3 = mat1.abs(); in test_2d() 95 VERIFY_IS_APPROX(mat3(0,0), 0.0f); in test_2d() 96 VERIFY_IS_APPROX(mat3(0,1), 1.0f); in test_2d() 97 VERIFY_IS_APPROX(mat3(0,2), 2.0f); in test_2d() 98 VERIFY_IS_APPROX(mat3(1,0), 3.0f); in test_2d() 99 VERIFY_IS_APPROX(mat3(1,1), 4.0f); in test_2d() 100 VERIFY_IS_APPROX(mat3(1,2), 5.0f); in test_2d() 126 Tensor<float, 3> mat3(2,3,7); in test_3d() local 127 mat3 = mat1 + mat1; in test_3d() [all …]
|
D | cxx11_tensor_fixed_size.cpp | 156 TensorFixedSize<float, Sizes<2, 3> > mat3; in test_2d() local 158 mat3 = mat1.abs(); in test_2d() 161 VERIFY_IS_EQUAL((mat3.size()), 2*3); in test_2d() 165 VERIFY_IS_APPROX(mat3(0,0), 0.0f); in test_2d() 166 VERIFY_IS_APPROX(mat3(0,1), 1.0f); in test_2d() 167 VERIFY_IS_APPROX(mat3(0,2), 2.0f); in test_2d() 168 VERIFY_IS_APPROX(mat3(1,0), 3.0f); in test_2d() 169 VERIFY_IS_APPROX(mat3(1,1), 4.0f); in test_2d() 170 VERIFY_IS_APPROX(mat3(1,2), 5.0f); in test_2d() 202 TensorFixedSize<float, Sizes<2, 3, 7> > mat3; in test_3d() local [all …]
|
D | cxx11_tensor_assign.cpp | 95 TensorMap<Tensor<int, 2> > mat3(row_major, 2, 3); in test_2d() local 98 mat3 = mat1; in test_2d() 101 VERIFY_IS_EQUAL(mat3(0,0), 0); in test_2d() 102 VERIFY_IS_EQUAL(mat3(0,1), 1); in test_2d() 103 VERIFY_IS_EQUAL(mat3(0,2), 2); in test_2d() 104 VERIFY_IS_EQUAL(mat3(1,0), 3); in test_2d() 105 VERIFY_IS_EQUAL(mat3(1,1), 4); in test_2d() 106 VERIFY_IS_EQUAL(mat3(1,2), 5); in test_2d() 117 mat1 = mat3; in test_2d() 155 TensorMap<Tensor<int, 3> > mat3(col_major, 2, 3, 7); in test_3d() local [all …]
|
D | cxx11_tensor_lvalue.cpp | 22 Tensor<float, 3> mat3(2,3,7); in test_compound_assignment() local 26 mat3 = mat1; in test_compound_assignment() 27 mat3 += mat2; in test_compound_assignment() 32 VERIFY_IS_APPROX(mat3(i,j,k), mat1(i,j,k) + mat2(i,j,k)); in test_compound_assignment()
|
/external/eigen/test/ |
D | geo_orthomethods.cpp | 37 Matrix3 mat3; in orthomethods_3() local 38 mat3 << v0.normalized(), in orthomethods_3() 41 VERIFY(mat3.isUnitary()); in orthomethods_3() 43 mat3.setRandom(); in orthomethods_3() 44 VERIFY_IS_APPROX(v0.cross(mat3*v1), -(mat3*v1).cross(v0)); in orthomethods_3() 45 VERIFY_IS_APPROX(v0.cross(mat3.lazyProduct(v1)), -(mat3.lazyProduct(v1)).cross(v0)); in orthomethods_3() 48 mat3.setRandom(); in orthomethods_3() 52 mcross = mat3.colwise().cross(vec3); in orthomethods_3() 53 VERIFY_IS_APPROX(mcross.col(i), mat3.col(i).cross(vec3)); in orthomethods_3() 55 …VERIFY_IS_MUCH_SMALLER_THAN((mat3.adjoint() * mat3.colwise().cross(vec3)).diagonal().cwiseAbs().su… in orthomethods_3() [all …]
|
/external/deqp/external/openglcts/data/gl33/ |
D | arrays.test | 340 mat3[3] a = mat3[3] ( mat3( in0.x, in0.y, in0.z, 343 mat3( in0.z, in0.x, -in0.y, 346 mat3( -in0.z, -in0.z, in0.z, 350 mat3 a0 = a[0]; 351 mat3 a1 = a[1]; 352 mat3 a2 = a[2]; 381 mat3[3] a = mat3[3] ( mat3( in0.x, in0.y, in0.z, 384 mat3( in0.z, in0.x, -in0.y, 387 mat3( -in0.z, -in0.z, in0.z, 391 mat3 a0 = a[0]; [all …]
|
/external/deqp/external/openglcts/data/gles3/ |
D | arrays.test | 340 mat3[3] a = mat3[3] ( mat3( in0.x, in0.y, in0.z, 343 mat3( in0.z, in0.x, -in0.y, 346 mat3( -in0.z, -in0.z, in0.z, 350 mat3 a0 = a[0]; 351 mat3 a1 = a[1]; 352 mat3 a2 = a[2]; 381 mat3[3] a = mat3[3] ( mat3( in0.x, in0.y, in0.z, 384 mat3( in0.z, in0.x, -in0.y, 387 mat3( -in0.z, -in0.z, in0.z, 391 mat3 a0 = a[0]; [all …]
|
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/ |
D | arrays.test | 343 mat3[3] a = mat3[3] ( mat3( in0.x, in0.y, in0.z, 346 mat3( in0.z, in0.x, -in0.y, 349 mat3( -in0.z, -in0.z, in0.z, 353 mat3 a0 = a[0]; 354 mat3 a1 = a[1]; 355 mat3 a2 = a[2]; 384 mat3[3] a = mat3[3] ( mat3( in0.x, in0.y, in0.z, 387 mat3( in0.z, in0.x, -in0.y, 390 mat3( -in0.z, -in0.z, in0.z, 394 mat3 a0 = a[0]; [all …]
|
D | conversions.test | 5115 …mat3 out0 = [ mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) | mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.… 5128 out0 = mat3(in0); 5331 …mat3 out0 = [ mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) | mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.… 5344 out0 = mat3(in0); 5547 …mat3 out0 = [ mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) | mat3(2.0, 0.0, 0.0, 0.0, 2.0, 0.… 5560 out0 = mat3(in0); 5763 …output mat3 out0 = [ mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0) | mat3(0.0, 0.0, 0.0, 0.0, … 5776 out0 = mat3(in0); 5983 …output mat3 out0 = [ mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0) | mat3(6.5, 32.0, 0.125, 12… 5996 out0 = mat3(in0); [all …]
|
/external/deqp/data/gles3/shaders/ |
D | arrays.test | 340 mat3[3] a = mat3[3] ( mat3( in0.x, in0.y, in0.z, 343 mat3( in0.z, in0.x, -in0.y, 346 mat3( -in0.z, -in0.z, in0.z, 350 mat3 a0 = a[0]; 351 mat3 a1 = a[1]; 352 mat3 a2 = a[2]; 381 mat3[3] a = mat3[3] ( mat3( in0.x, in0.y, in0.z, 384 mat3( in0.z, in0.x, -in0.y, 387 mat3( -in0.z, -in0.z, in0.z, 391 mat3 a0 = a[0]; [all …]
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | hlsl.matpack-pragma.frag.out | 18 … column_major) temp 4X4 matrix of float mat2, layout( column_major) temp 4X4 matrix of float mat3}) 19 …mat3} g_MyBuffer1, layout( row_major std140) uniform structure{layout( row_major) temp 4X4 matrix … 28 … column_major) temp 4X4 matrix of float mat2, layout( column_major) temp 4X4 matrix of float mat3}) 29 …mat3} g_MyBuffer1, layout( row_major std140) uniform structure{layout( row_major) temp 4X4 matrix … 37 0:31 mat3: direct index for structure (layout( column_major) temp 4X4 matrix of fl… 38 … column_major) temp 4X4 matrix of float mat2, layout( column_major) temp 4X4 matrix of float mat3}) 39 …mat3} g_MyBuffer1, layout( row_major std140) uniform structure{layout( row_major) temp 4X4 matrix … 48 …ut( column_major) temp 4X4 matrix of float mat2, layout( row_major) temp 4X4 matrix of float mat3}) 49 …mat3} g_MyBuffer1, layout( row_major std140) uniform structure{layout( row_major) temp 4X4 matrix … 58 …ut( column_major) temp 4X4 matrix of float mat2, layout( row_major) temp 4X4 matrix of float mat3}) [all …]
|
/external/deqp-deps/glslang/Test/ |
D | 120.frag | 142 mat3 r3 = matrixCompMult(m33, m33); 164 mat3 m3 = mat3(m4); 165 mat3 m3b1 = mat3(m4, v2); // ERROR, extra arg 166 mat3 m3b2 = mat3(m4, m4); // ERROR, extra arg 169 mat3 m3s = mat3(v2.x); 171 mat3 m3a1[2] = mat3[2](m3s, m3s); 172 mat3 m3a2[2] = mat3[2](m3s, m3s, m3s); // ERROR, too many args
|
D | spv.matFun.vert | 5 uniform mat3 m3; 10 vec3 xf(mat3 m, vec3 v) 15 mat3 Mat3(mat4 m) 17 return mat3(m[0].xyz, m[1].xyz, m[2].xyz);
|
D | hlsl.matpack-pragma.frag | 7 /*floating*/ float4x4 mat3; 16 /*floating*/ float4x4 mat3; 31 g_MyBuffer1.mat1[0] + g_MyBuffer1.mat2[0] + g_MyBuffer1.mat3[0] + 32 g_MyBuffer2.mat1[0] + g_MyBuffer2.mat2[0] + g_MyBuffer2.mat3[0];
|
D | spv.matrix2.frag | 3 in mat3 colorTransform; 10 in mat3 um3; 43 mat3 inv3 = inverse(um3);
|
D | matrix2.frag | 3 uniform mat3 colorTransform; 10 uniform mat3 um3; 43 mat3 inv3 = inverse(um3);
|
/external/deqp/data/gles2/shaders/ |
D | conversions.test | 3166 …mat3 out0 = [ mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) | mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.… 3178 out0 = mat3(in0); 3232 …mat3 out0 = [ mat3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) | mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.… 3244 out0 = mat3(in0); 3298 …output mat3 out0 = [ mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0) | mat3(0.0, 0.0, 0.0, 0.0, … 3310 out0 = mat3(in0); 3368 …output mat3 out0 = [ mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0) | mat3(6.5, 32.0, 0.125, 12… 3380 out0 = mat3(in0); 3411 …input mat3 in0 = [ mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0) | mat3(6.5, 32.0, 0.125, 12.5… 3433 …input mat3 in0 = [ mat3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0) | mat3(6.5, 32.0, 0.125, 12.5… [all …]
|
/external/eigen/doc/snippets/ |
D | Tutorial_AdvancedInitialization_ThreeWays.cpp | 16 MatrixXd mat3(size, size); 17 mat3 << MatrixXd::Zero(size/2, size/2), MatrixXd::Identity(size/2, size/2), 19 std::cout << mat3 << std::endl;
|