/external/eigen/unsupported/test/ |
D | cxx11_tensor_map.cpp | 89 TensorMap<Tensor<const int, 2, RowMajor> > mat4(mat2.data(), 2, 3); in test_2d() local 96 VERIFY_IS_EQUAL(mat4.rank(), 2); in test_2d() 97 VERIFY_IS_EQUAL(mat4.size(), 6); in test_2d() 98 VERIFY_IS_EQUAL(mat4.dimension(0), 2); in test_2d() 99 VERIFY_IS_EQUAL(mat4.dimension(1), 3); in test_2d() 108 VERIFY_IS_EQUAL(mat4(0,0), 0); in test_2d() 109 VERIFY_IS_EQUAL(mat4(0,1), 1); in test_2d() 110 VERIFY_IS_EQUAL(mat4(0,2), 2); in test_2d() 111 VERIFY_IS_EQUAL(mat4(1,0), 3); in test_2d() 112 VERIFY_IS_EQUAL(mat4(1,1), 4); in test_2d() [all …]
|
D | cxx11_tensor_contraction.cpp | 30 Tensor<float, 2, DataLayout> mat4(3,3); in test_evals() local 31 mat4.setZero(); in test_evals() 35 eval.evalTo(mat4.data()); in test_evals() 40 VERIFY_IS_APPROX(mat4(0,0), mat1(0,0)*mat2(0,0) + mat1(1,0)*mat2(1,0)); in test_evals() 41 VERIFY_IS_APPROX(mat4(0,1), mat1(0,0)*mat2(0,1) + mat1(1,0)*mat2(1,1)); in test_evals() 42 VERIFY_IS_APPROX(mat4(0,2), mat1(0,0)*mat2(0,2) + mat1(1,0)*mat2(1,2)); in test_evals() 43 VERIFY_IS_APPROX(mat4(1,0), mat1(0,1)*mat2(0,0) + mat1(1,1)*mat2(1,0)); in test_evals() 44 VERIFY_IS_APPROX(mat4(1,1), mat1(0,1)*mat2(0,1) + mat1(1,1)*mat2(1,1)); in test_evals() 45 VERIFY_IS_APPROX(mat4(1,2), mat1(0,1)*mat2(0,2) + mat1(1,1)*mat2(1,2)); in test_evals() 46 VERIFY_IS_APPROX(mat4(2,0), mat1(0,2)*mat2(0,0) + mat1(1,2)*mat2(1,0)); in test_evals() [all …]
|
D | cxx11_tensor_fixed_size.cpp | 157 TensorFixedSize<float, Sizes<2, 3>, RowMajor> mat4; in test_2d() local 159 mat4 = mat2.abs(); in test_2d() 172 VERIFY_IS_APPROX(mat4(0,0), 0.0f); in test_2d() 173 VERIFY_IS_APPROX(mat4(0,1), 1.0f); in test_2d() 174 VERIFY_IS_APPROX(mat4(0,2), 2.0f); in test_2d() 175 VERIFY_IS_APPROX(mat4(1,0), 3.0f); in test_2d() 176 VERIFY_IS_APPROX(mat4(1,1), 4.0f); in test_2d() 177 VERIFY_IS_APPROX(mat4(1,2), 5.0f); in test_2d() 204 TensorFixedSize<float, Sizes<2, 3, 7>, RowMajor> mat4; in test_3d() local 205 mat4 = mat2.sqrt(); in test_3d() [all …]
|
D | cxx11_tensor_assign.cpp | 96 TensorMap<Tensor<int, 2, RowMajor> > mat4(col_major, 2, 3); in test_2d() local 99 mat4 = mat2; in test_2d() 108 VERIFY_IS_EQUAL(mat4(0,0), 0); in test_2d() 109 VERIFY_IS_EQUAL(mat4(0,1), 1); in test_2d() 110 VERIFY_IS_EQUAL(mat4(0,2), 2); in test_2d() 111 VERIFY_IS_EQUAL(mat4(1,0), 3); in test_2d() 112 VERIFY_IS_EQUAL(mat4(1,1), 4); in test_2d() 113 VERIFY_IS_EQUAL(mat4(1,2), 5); in test_2d() 118 mat2 = mat4; in test_2d() 156 TensorMap<Tensor<int, 3, RowMajor> > mat4(row_major, 2, 3, 7); in test_3d() local [all …]
|
D | cxx11_tensor_expr.cpp | 91 Tensor<float, 2, RowMajor> mat4(2,3); in test_2d() local 93 mat4 = mat2.abs(); in test_2d() 102 VERIFY_IS_APPROX(mat4(0,0), 0.0f); in test_2d() 103 VERIFY_IS_APPROX(mat4(0,1), 1.0f); in test_2d() 104 VERIFY_IS_APPROX(mat4(0,2), 2.0f); in test_2d() 105 VERIFY_IS_APPROX(mat4(1,0), 3.0f); in test_2d() 106 VERIFY_IS_APPROX(mat4(1,1), 4.0f); in test_2d() 107 VERIFY_IS_APPROX(mat4(1,2), 5.0f); in test_2d() 128 Tensor<float, 3, RowMajor> mat4(2,3,7); in test_3d() local 129 mat4 = mat2 * 3.14f; in test_3d() [all …]
|
/external/vulkan-validation-layers/libs/glm/detail/ |
D | dummy.cpp | 89 glm::mat4 Projection = glm::perspective(45.0f, 4.0f / 3.0f, 0.1f, 100.f); in func() 90 glm::mat4 ViewTranslate = glm::translate(glm::mat4(1.0f), glm::vec3(0.0f, 0.0f, -Translate)); in func() 91 glm::mat4 ViewRotateX = glm::rotate(ViewTranslate, Rotate.y, glm::vec3(-1.0f, 0.0f, 0.0f)); in func() 92 glm::mat4 View = glm::rotate(ViewRotateX, Rotate.x, glm::vec3(0.0f, 1.0f, 0.0f)); in func() 93 glm::mat4 Model = glm::scale(glm::mat4(1.0f), glm::vec3(0.5f)); in func() 94 glm::mat4 MVP = Projection * View * Model; in func()
|
/external/vulkan-validation-layers/demos/smoke/ |
D | Simulation.h | 32 glm::mat4 transformation(float t); 40 glm::mat4 matrix; 91 glm::mat4 model;
|
D | Smoke.push_constant.vert | 9 mat4 model; 10 mat4 view_projection;
|
D | Smoke.vert | 9 mat4 model; 10 mat4 view_projection;
|
D | Simulation.cpp | 84 current_.matrix = glm::scale(glm::mat4(1.0f), glm::vec3(current_.scale)); in Animation() 87 glm::mat4 Animation::transformation(float t) { in transformation() 271 glm::mat4 trans = obj.animation.transformation(time); in update() 272 obj.model = glm::translate(glm::mat4(1.0f), pos) * trans; in update()
|
/external/deqp/data/gles2/shaders/ |
D | conversions.test | 3144 …mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)… 3156 out0 = mat4(in0); 3210 …mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)… 3222 out0 = mat4(in0); 3276 …output mat4 out0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.… 3288 out0 = mat4(in0); 3345 …input mat4 in0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0,… 3346 …output mat4 out0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.… 3358 out0 = mat4(in0); 3367 …input mat4 in0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0,… [all …]
|
/external/deqp/data/gles31/shaders/es32/ |
D | linkage_tessellation_uniform_types.test | 633 case mat4 635 desc "uniform of type mat4" 638 …uniform mat4 val0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, … 639 …uniform mat4 val1 = [ mat4(1.0, 1.5, 2.5, -1.0, 2.0, 1.0, 3.0, 4.0, -1.0, 3.0, 4.5, -1.5, 3.5, 2.0… 640 …output mat4 out0 = [ mat4(0.75, 4.25, -4.5, -14.2, -21.65, -5.25, 20.21, -69.7, -2.0, 7.0, 8.0, -1… 653 out mediump mat4 tc_out[]; 663 in mediump mat4 tc_out[]; 664 out mediump mat4 te_out; 675 in mat4 te_out;
|
D | linkage_tessellation_varying_types.test | 657 case mat4 659 desc "varying of type mat4" 662 …input mat4 in0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2.… 663 …output mat4 out0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2… 668 out mediump mat4 vtx_var; 678 in mediump mat4 vtx_var[]; 679 out mediump mat4 tc_out[]; 689 in mediump mat4 tc_out[]; 690 out mediump mat4 te_out; 701 in mat4 te_out;
|
D | linkage_geometry_uniform_types.test | 538 case mat4 540 desc "uniform of type mat4" 543 …uniform mat4 val = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2… 544 …output mat4 out0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2… 557 out mediump mat4 geo_var; 572 in mat4 geo_var;
|
D | linkage_geometry_varying_types.test | 573 case mat4 575 desc "varying of type mat4" 578 …input mat4 in0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2.… 579 …output mat4 out0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2… 584 out mediump mat4 vtx_var; 594 in mediump mat4 vtx_var[]; 595 out mediump mat4 geo_var; 610 in mat4 geo_var;
|
D | linkage_tessellation_geometry_varying_types.test | 837 case mat4 839 desc "varying of type mat4" 842 …input mat4 in0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2.… 843 …output mat4 out0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2… 848 out mediump mat4 vtx_var; 858 in mediump mat4 vtx_var[]; 859 out mediump mat4 tc_out[]; 869 in mediump mat4 tc_out[]; 870 out mediump mat4 te_out; 880 in mediump mat4 te_out[]; [all …]
|
/external/deqp/data/gles31/shaders/es31/ |
D | linkage_tessellation_uniform_types.test | 627 case mat4 629 desc "uniform of type mat4" 633 …uniform mat4 val0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, … 634 …uniform mat4 val1 = [ mat4(1.0, 1.5, 2.5, -1.0, 2.0, 1.0, 3.0, 4.0, -1.0, 3.0, 4.5, -1.5, 3.5, 2.0… 635 …output mat4 out0 = [ mat4(0.75, 4.25, -4.5, -14.2, -21.65, -5.25, 20.21, -69.7, -2.0, 7.0, 8.0, -1… 648 out mediump mat4 tc_out[]; 658 in mediump mat4 tc_out[]; 659 out mediump mat4 te_out; 670 in mat4 te_out;
|
D | linkage_tessellation_varying_types.test | 651 case mat4 653 desc "varying of type mat4" 657 …input mat4 in0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2.… 658 …output mat4 out0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2… 663 out mediump mat4 vtx_var; 673 in mediump mat4 vtx_var[]; 674 out mediump mat4 tc_out[]; 684 in mediump mat4 tc_out[]; 685 out mediump mat4 te_out; 696 in mat4 te_out;
|
D | linkage_geometry_varying_types.test | 567 case mat4 569 desc "varying of type mat4" 573 …input mat4 in0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2.… 574 …output mat4 out0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2… 579 out mediump mat4 vtx_var; 589 in mediump mat4 vtx_var[]; 590 out mediump mat4 geo_var; 605 in mat4 geo_var;
|
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/ |
D | conversions.test | 5019 …mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)… 5032 out0 = mat4(in0); 5235 …mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)… 5248 out0 = mat4(in0); 5451 …mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)… 5464 out0 = mat4(in0); 5667 …output mat4 out0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.… 5680 out0 = mat4(in0); 5886 …input mat4 in0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0,… 5887 …output mat4 out0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.… [all …]
|
/external/deqp/data/gles3/shaders/ |
D | conversions.test | 6079 …mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)… 6092 out0 = mat4(in0); 6295 …mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)… 6308 out0 = mat4(in0); 6511 …mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)… 6524 out0 = mat4(in0); 6727 …output mat4 out0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.… 6740 out0 = mat4(in0); 6946 …input mat4 in0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0,… 6947 …output mat4 out0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.… [all …]
|
/external/autotest/client/deps/glbench/src/ |
D | yuv2rgb_4.glslf | 41 uniform mat4 conversion; 58 mat4 conversion = mat4( 1.0, 1.0, 1.0, 0.0,
|
D | yuv2rgb_3.glslf | 42 uniform mat4 conversion; 61 mat4 conversion = mat4(
|
D | yuv2rgb_2.glslf | 47 uniform mat4 conversion; 68 mat4 conversion = mat4( 1.0, 1.0, 1.0, 0.0,
|
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/ |
D | SkinnedVertShader.vsh | 32 uniform highp mat4 ViewProjMatrix; 35 uniform highp mat4 BoneMatrixArray[8]; 52 highp mat4 boneMatrix = BoneMatrixArray[boneIndex.x];
|